/** * @param string $expr * @param Mana_Seo_Model_Schema $schema * @return string */ protected function _seoify($expr, $schema) { $expr = "LOWER({$expr})"; foreach ($schema->getSortedSymbols() as $symbol) { $expr = "REPLACE({$expr}, {$this->_quote($symbol['symbol'])}, {$this->_quote($symbol['substitute'])})"; } return $expr; }