コード例 #1
0
ファイル: ControllerAjax.php プロジェクト: novacek78/v4
 public function run()
 {
     $methodName = Request::getParamByNum($this->_methodNameParameterNumber);
     if (method_exists($this, $methodName)) {
         $this->{$methodName}();
     } else {
         echo "Unknown method: " . get_class($this) . "->{$methodName}()";
     }
     exit;
 }