IndexController Class Reference
List of all members.
Member Function Documentation
| IndexController::indexAction |
( |
|
) |
|
00013 {
00014 $articles = new Default_Model_Articles();
00015 $this->view->articles = $articles->myFetchAll(null, 1);
00016 $this->view->articles->setCurrentPageNumber($this->getRequest()->getParam('page'));
00017 $this->view->articles->setItemCountPerPage($this->_config['articles']['itemsPerPage']);
00018 $this->view->articles->setPageRange($this->_config['articles']['pageRange']);
00019 }
| IndexController::init |
( |
|
) |
|
00007 {
00008
00009 $this->_config = Zend_Registry::get('config');
00010 }
The documentation for this class was generated from the following file: