Example #1
0
 public function init(&$oDb)
 {
     parent::init($oDb);
     $sOptionPrefix = $this->getPrefix('option');
     $this->_bAllowDelete = getParam($sOptionPrefix . 'enable_delete') == 'on';
     $this->_aPerPage = array('default' => (int) getParam($sOptionPrefix . 'events_per_page'), 'profile' => (int) getParam($sOptionPrefix . 'events_per_page_profile'), 'account' => (int) getParam($sOptionPrefix . 'events_per_page_account'), 'home' => (int) getParam($sOptionPrefix . 'events_per_page_home'));
     $this->_iRssLength = (int) getParam($sOptionPrefix . 'rss_length');
     $this->_iCharsDisplayMax = (int) getParam($sOptionPrefix . 'chars_display_max');
 }
Example #2
0
 public function init(&$oDb)
 {
     parent::init($oDb);
     $sOptionPrefix = $this->getPrefix('option');
     $this->_aPerPage = array('default' => (int) getParam($sOptionPrefix . 'events_per_page'));
 }