Пример #1
0
 public static function simplify($string)
 {
     $result = StringEx::noAccents($string);
     return strtolower($result);
 }
Пример #2
0
 /**
  * @covers Nash\Client\Util\StringEx::noAccents
  * @todo   Implement testNoAccents().
  */
 public function testNoAccents()
 {
     $strAccents = "áÀãçéèÕü";
     $noAccents = StringEx::noAccents($strAccents);
     $this->assertEquals("aAaceeOu", $noAccents);
 }