function __construct($sMode = '', $aParams = array()) { parent::__construct($sMode, $aParams); $this->oModule = $this->getMain(); $this->sModuleObjectComments = $this->oModule->_oConfig->CNF['OBJECT_COMMENTS']; $this->aCurrent = array('name' => $this->oModule->_oConfig->getName() . '_cmts', 'title' => '', 'table' => $this->oModule->_oConfig->getDbPrefix() . 'cmts', 'ownFields' => array('cmt_id', 'cmt_object_id', 'cmt_author_id', 'cmt_text', 'cmt_time'), 'searchFields' => array('cmt_text'), 'restriction' => array('author' => array('value' => '', 'field' => 'cmt_author_id', 'operator' => '=')), 'paginate' => array('start' => 0, 'perPage' => 3), 'sorting' => 'last'); $this->sBrowseUrl = BX_DOL_SEARCH_KEYWORD_PAGE; }
function __construct($sMode = '', $aParams = array()) { parent::__construct($sMode, $aParams); $this->aGetParams = array($this->sUnitViewParamName); $this->sUnitTemplate = $this->aUnitViews[$this->sUnitViewDefault]; if (isset($this->aUnitViews[bx_get($this->sUnitViewParamName)])) { $this->sUnitTemplate = $this->aUnitViews[bx_get($this->sUnitViewParamName)]; } }
function __construct($sMode = '', $aParams = array()) { parent::__construct($sMode, $aParams); $this->aGetParams = array($this->sUnitViewParamName); $this->sUnitTemplate = $this->aUnitViews[$this->sUnitViewDefault]; if (isset($this->aUnitViews[bx_get($this->sUnitViewParamName)])) { $this->sUnitTemplate = $this->aUnitViews[bx_get($this->sUnitViewParamName)]; } if ('unit_gallery.html' == $this->sUnitTemplate) { $this->addContainerClass(array('bx-def-margin-sec-neg', 'bx-base-text-unit-gallery-wrapper')); } }
function __construct($sMode = '', $aParams = false) { parent::__construct($sMode, $aParams); $this->aCurrent = array('name' => 'bx_accounts', 'object_metatags' => '', 'title' => _t('_bx_accnt_page_title_browse'), 'table' => 'sys_accounts', 'tableSearch' => 'sys_accounts', 'ownFields' => array(), 'searchFields' => array('name', 'email'), 'restriction' => array('confirmed' => array('value' => '', 'field' => 'email_confirmed', 'operator' => '='), 'unconfirmed' => array('value' => '', 'field' => 'email_confirmed', 'operator' => '<>')), 'join' => array(), 'paginate' => array('perPage' => 20, 'start' => 0), 'sorting' => 'none', 'rss' => array('title' => '', 'link' => '', 'image' => '', 'profile' => 0, 'fields' => array('Guid' => 'link', 'Link' => 'link', 'Title' => 'fullname', 'DateTimeUTS' => 'added', 'Desc' => 'fullname', 'Picture' => 'picture')), 'ident' => 'id'); $this->sFilterName = 'bx_accounts_filter'; $this->oModule = $this->getMain(); switch ($sMode) { case '': // search results $this->sBrowseUrl = BX_DOL_SEARCH_KEYWORD_PAGE; $this->aCurrent['title'] = _t('_bx_accnt'); $this->aCurrent['paginate']['perPage'] = 5; unset($this->aCurrent['rss']); break; default: $this->isError = true; } parent::__construct(); }
function __construct($sMode = '', $aParams = array()) { parent::__construct($sMode, $aParams); }
public function __construct($sMode = '', $aParams = array()) { parent::__construct($sMode, $aParams); $this->sCenterContentUnitSelector = '.bx-base-pofile-unit'; }