예제 #1
0
 function __construct($name, BfoxToolsController $toolsController)
 {
     $this->name = $name;
     $this->toolsController = $toolsController;
     $this->dependencyName = 'depends-bfox-tool-context-' . $this->name;
     $this->updaterClass = 'bfox-tool-context-updater';
     parent::__construct();
 }
예제 #2
0
 function __construct($name, BfoxRefsController $refsController, $initRefStr = 'Genesis 1')
 {
     $this->name = $name;
     $this->refsController = $refsController;
     $this->dependencyName = 'depends-bfox-ref-context-' . $this->name;
     $this->updaterClass = 'bfox-ref-context-updater';
     parent::__construct();
     $this->initRef($initRefStr);
 }
 function __construct()
 {
     parent::__construct();
     $this->_autoAddWPFilters();
 }
예제 #4
0
 function init()
 {
     parent::init();
     $this->addAction('wp_ajax_' . $this->id, 'sendResponse');
 }