Пример #1
0
 /**
  * @return array
  */
 public function registerAdminAjaxRequests()
 {
     $ajaxRequestPluginInfo = new IfwPsn_Wp_Plugin_Metabox_PluginInfo($this->_pm);
     $ajaxRequestPluginInfo->getAjaxRequest()->register();
     $ajaxRequestPluginStatus = new IfwPsn_Wp_Plugin_Metabox_PluginStatus($this->_pm);
     $ajaxRequestPluginStatus->getAjaxRequest()->register();
     $ajaxRequestIfwFeed = new IfwPsn_Wp_Plugin_Metabox_IfwFeed($this->_pm);
     $ajaxRequestIfwFeed->getAjaxRequest()->register();
     $ajaxRequestRules = new Psn_Admin_Metabox_Rules($this->_pm);
     $ajaxRequestRules->getAjaxRequest()->register();
     return array();
 }
Пример #2
0
<?php

/**
 * Register Ajax request for metabox 
 *
 * @author   Timo Reith <*****@*****.**>
 * @version  $Id: load-psn-plugin_info.php 911380 2014-05-09 23:24:44Z worschtebrot $
 */
$metabox = new IfwPsn_Wp_Plugin_Metabox_PluginInfo($pm);
return $metabox->getAjaxRequest();