Пример #1
0
 public function __construct($templateName, &$content, array &$containerData, XenForo_Template_Abstract $template)
 {
     $this->_templateName = $templateName;
     $this->_containerData = $containerData;
     parent::__construct($content, $template);
 }
Пример #2
0
 /**
  *
  * @param string $contents
  * @param XenForo_Template_Abstract $template
  */
 public function __construct(&$contents, XenForo_Template_Abstract $template = null)
 {
     $this->_template = $this;
     parent::__construct($contents, null);
 }
Пример #3
0
 /**
  *
  * @param string $hookName
  * @param string $contents.
  * @param array $hookParams
  * @param XenForo_Template_Abstract $template
  */
 public function __construct($hookName, &$contents, array $hookParams, XenForo_Template_Abstract $template)
 {
     $this->_hookName = $hookName;
     $this->_hookParams = $hookParams;
     parent::__construct($contents, $template);
 }
Пример #4
0
 /**
  *
  * @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);
 }