compared with
Version 6 by Thomas Weidner
on Aug 08, 2009 04:38.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
// returns 'tring'
Truncate a string at 6 chars but from the other side
$filter = new Zend_Filter_StringTruncate(array('length' => 6, 'direction' => Zend_Filter_StringTruncate::LEFT));
$filter->filter('My string');
// returns 'string'

public function getEnding();
public function setEnding();
public function getType(); getDirection();
public function setType($type); setDirection($direction);
public function getTruncated($value = null);
public function filter($value);