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

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

Changes (4)

View Page History
Extends a string to 15 chars, using another pad char
{code}
$filter = new Zend_Filter_StringPad(array('length' => 15, 'padString' 'ending' => '.'));
$filter->filter('My string');
// returns 'My string......'
Extends a string to 15 chars, using another pad char and another direction
{code}
$filter = new Zend_Filter_StringPad(array('length' => 15, 'padString' 'ending' => '.', 'type' => Zend_Filter_StringPad::LEFT));
$filter->filter('My string');
// returns '......My string'
public function getLength();
public function setLength($length);
public function getPadString(); getEnding();
public function setPadString(); setEnding();
public function getType();
public function setType($type);