Пример #1
0
 public function __callStatic($funName, $argu)
 {
     if (($index = strpos($funName, "Url")) && !method_exists(UrlHelper, $funName)) {
         $type = strtolower(substr($funName, 0, $index));
         return UrlHelper::CommonUrlHelper($type, $argu[0], $argu[1], $argu[2]);
     }
 }