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(); }
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(); }
function init() { parent::init(); $this->addAction('wp_ajax_' . $this->id, 'sendResponse'); }