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
 public static function setMbstring($val)
 {
     self::$_mbstring = (bool) $val;
 }