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

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

Changes (3)

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

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);