compared with
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
// returns 'My s..'
Truncate a string at 6 chars, using ending chars and additionally get the truncated content
$filter = new Zend_Filter_StringTruncate(array('length' => 6, 'ending' => '..'));
$filter->filter('My string');
// returns 'My s..'
// returns 'tring'

public function setEnding();
public function getType();
public function setType($type);
public function setType($type); getTruncated();
public function filter($value);