/** * Creates a new SendNewsletterAction object. * * @param boolean $hourly * * @see AbstractAction::__construct() */ public function __construct($hourly = false) { $this->hourly = $hourly; //makes sure that bbcodes cache resource exists WCF::getCache()->addResource('bbcodes', WCF_DIR . 'cache/cache.bbcodes.php', WCF_DIR . 'lib/system/cache/CacheBuilderBBCodes.class.php'); WCF::getCache()->addResource('smileys', WCF_DIR . 'cache/cache.smileys.php', WCF_DIR . 'lib/system/cache/CacheBuilderSmileys.class.php'); parent::__construct(); }
/** * @param \Magento\Framework\View\Asset\Repository $assetRepo * @param \Magento\Framework\View\LayoutInterface $layout * @param \Magento\Rule\Model\ActionFactory $actionFactory * @param array $data */ public function __construct(\Magento\Framework\View\Asset\Repository $assetRepo, \Magento\Framework\View\LayoutInterface $layout, \Magento\Rule\Model\ActionFactory $actionFactory, array $data = array()) { $this->_actionFactory = $actionFactory; $this->_layout = $layout; parent::__construct($assetRepo, $layout, $data); $this->setActions(array()); $this->setType('Magento\\Rule\\Model\\Action\\Collection'); }
/** * Creates a new WorkerAction object. */ public function __construct() { try { parent::__construct(); } catch (SystemException $e) { WCF::getTPL()->assign('e', $e); WCF::getTPL()->display('workerException'); } }
public function __construct() { parent::__construct(); }
public function __construct($name = 'rowSelections', $filter = "ID") { parent::__construct(); $this->name = $name; $this->field_selector = $filter; }
public function __construct() { parent::__construct(); $this->mActionForm = new MessageForm(); $this->mActionForm->prepare(); }
public function __construct($identifier = NULL) { parent::__construct('read'); }
public function __construct() { parent::__construct(); $this->addClass('btn'); }
public function __construct() { parent::__construct(); $this->mService = $this->root->mServiceManager->getService('UserSearch'); $this->setUrl('index.php?action=favorites'); }
public function __construct($name = 'rowSelections') { parent::__construct(); $this->name = $name; }
public function __construct() { parent::__construct(); $this->mService = $this->root->mServiceManager->getService('UserSearch'); }