コード例 #1
0
ファイル: PodsAPI.php プロジェクト: satokora/IT354Project
 /**
  * Handle filters / actions for the class
  *
  * @since 2.0
  */
 private function do_hook()
 {
     $args = func_get_args();
     if (empty($args)) {
         return false;
     }
     $name = array_shift($args);
     return pods_do_hook("api", $name, $args, $this);
 }
コード例 #2
0
ファイル: PodsData.php プロジェクト: Ingenex/redesign
 /**
  * Handle filters / actions for the class
  *
  * @since 2.0
  */
 private static function do_hook()
 {
     $args = func_get_args();
     if (empty($args)) {
         return false;
     }
     $name = array_shift($args);
     return pods_do_hook('data', $name, $args);
 }