addElement( 'text', 'ipp', array( 'label' => 'Paginator: Items Per Page', 'description' => 'Use empty value or "0" to show all items on one page' ) ); return $this; } protected function _doList() { $ipp = $this->getConfig('ipp'); if (empty($ipp)) { $this->_listOptions['isDisabledLimit'] = true; } else { $this->_listOptions['defaultIpp'] = $ipp; } parent::_doList(); } }