IndexController Class Reference

List of all members.

Public Member Functions

 init ()
 indexAction ()


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             /* Initialize action controller here */
00009                 $this->_config = Zend_Registry::get('config');
00010         }


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 16:22:50 2009 for IndyArticles by  doxygen 1.5.8