_encoding = $encoding; } /** * Defined by Zend_Filter_Interface * * Returns the string $value, converting characters to lowercase as necessary * * @param string $value * @return string */ public function filter($value) { if ($this->_encoding) { return mb_strtolower((string) $value, $this->_encoding); } return strtolower((string) $value); } }