/** * Constructor * * Acts somewhat as a factory and instantiates the Renderer and the Core * * @param string $limit The row limit per page. * @param string $page The current page viewed. * @param string $renderer The renderer to use. * @return void * @access public */ function Structures_DataGrid($limit = null, $page = 1, $renderer = DATAGRID_RENDER_TABLE) { parent::Structures_DataGrid_Renderer($renderer, $limit, $page); }
/** * Constructor * * @access public */ function Structures_DataGrid_Renderer_Smarty() { parent::Structures_DataGrid_Renderer(); $this->_addDefaultOptions(array('selfPath' => htmlspecialchars($_SERVER['PHP_SELF']), 'convertEntities' => true, 'sortingResetsPaging' => true)); }
/** * Constructor * * Set default options values * * @access public */ function Structures_DataGrid_Renderer_Pager() { parent::Structures_DataGrid_Renderer(); $this->_addDefaultOptions(array('pagerOptions' => array('mode' => 'Sliding', 'delta' => 5, 'separator' => '|', 'prevImg' => '<<', 'nextImg' => '>>', 'totalItems' => null, 'perPage' => null, 'urlVar' => null, 'currentPage' => null, 'extraVars' => array(), 'excludeVars' => array()))); $this->_setFeatures(array('outputBuffering' => true)); }