Needed to change protected static member variables.
저자: Michael Slusarz (slusarz@horde.org)
상속: extends Horde_Imap_Client_Utf7imap
예제 #1
0
 protected function _testConversion($orig, $expected)
 {
     $utf7_imap = Horde_Imap_Client_Stub_Utf7imap::Utf8ToUtf7Imap($orig, !is_null($expected));
     $this->assertEquals($expected ?: $orig, $utf7_imap);
     if ($expected) {
         $utf8 = Horde_Imap_Client_Stub_Utf7imap::Utf7ImapToUtf8($utf7_imap);
         $this->assertEquals($orig, $utf8);
     }
 }
예제 #2
0
파일: Utf7imap.php 프로젝트: horde/horde
 public static function setMbstring($val)
 {
     self::$_mbstring = (bool) $val;
 }