/** * * @see ThemeHouse_Listener_Template::run() */ public function run() { $hooks = $this->_getHooks(); foreach ($hooks as $hookName) { if ($hookName == $this->_hookName) { $callback = $this->_getHookCallbackFromHookName($hookName); $this->_runHookCallback($callback); } } $hookCallbacks = $this->_getHookCallbacks(); foreach ($hookCallbacks as $hookName => $callback) { if ($hookName == $this->_hookName) { $this->_runHookCallback($callback); } } return parent::run(); }
/** * * @param XenForo_FrontController $fc * @param string $contents */ public function __construct(XenForo_FrontController $fc, &$contents) { $this->_fc = $fc; $this->_routePath = $this->_fetchRoutePath(); parent::__construct($contents, null); }
public function __construct($templateName, &$content, array &$containerData, XenForo_Template_Abstract $template) { $this->_templateName = $templateName; $this->_containerData = $containerData; parent::__construct($content, $template); }
/** * * @param string $contents * @param XenForo_Template_Abstract $template */ public function __construct(&$contents, XenForo_Template_Abstract $template = null) { $this->_template = $this; parent::__construct($contents, null); }