コード例 #1
0
 function handle()
 {
     $metodo = "";
     $op = Leer::request("op");
     $action = Leer::request("action");
     $target = Leer::request("target");
     $metodo = $op . ucfirst($action) . ucfirst($target);
     if (method_exists($this, $metodo)) {
         $this->{$metodo}();
     } else {
         $this->nop();
     }
 }
コード例 #2
0
ファイル: Leer.php プロジェクト: TommyHernandez/fotocasaPHP
 public static function isArrayV2($param)
 {
     return is_array(Leer::request($param));
 }