Exemplo n.º 1
0
 protected function _getAjaxLoadParams(array $widget, $positionCode, array $params, XenForo_Template_Abstract $template)
 {
     $ajaxLoadParams = parent::_getAjaxLoadParams($widget, $positionCode, $params, $template);
     if ($this->_helperDetectSpecialForums($widget['options']['forums'])) {
         $forumIds = $this->_helperGetForumIdsFromOption($widget['options']['forums'], $params, empty($widget['options']['as_guest']) ? false : true);
         $ajaxLoadParams['forumIds'] = $forumIds;
     }
     return $ajaxLoadParams;
 }