Example #1
0
 public static function decode($text, $textType = "")
 {
     if (is_object($text)) {
         return $text;
     }
     $textType = Converter::initTextType($textType);
     if ($textType == Converter::HTML) {
         return $text;
     }
     return String::htmlDecode($text);
 }