コード例 #1
0
 /**
  * Testing password generator
  */
 public function testClearingUtf()
 {
     $string = 'Žž Ćć Čč ćž ĆŽ';
     $this->assertEquals('Zz Cc Cc cz CZ', MiscHelper::clearUTF($string));
     $string = 'Pero Perić Žićo';
     $this->assertEquals('Pero Peric Zico', MiscHelper::clearUTF($string));
 }
コード例 #2
0
ファイル: Payment.php プロジェクト: locastic/tcompayway
 /**
  * @param string $pgwPostCode
  */
 public function setPgwPostCode($pgwPostCode)
 {
     $this->pgwPostCode = MiscHelper::clearUTF($pgwPostCode);
 }