~/tmp/ZF/kanext/IndexController.php.html
1 <?php
2
3 class IndexController extends Zend_Controller_Action
4 {
5
6 public function init()
7 {
8 /* Initialize action controller here */
9 }
10
11
12 public function indexAction()
13 {
14 $this->view->layout()->title = "layout - title";
15 $this->view->content = "layout - content";
16 $this->view->layout()->navi = "layout - navi";
17 $this->view->layout()->subNavi = "layout - subNavi";
18 $this->view->layout()->searchForm = "layout - searchForm";
19 }
20 public function naviAction()
21 {
22 // tu będzie akcja odpowiadająca nawigatorowi
23 // będzie potrzebna wtyczka
24 }
25 }
26
Wyszukiwarka
Podobne podstrony:
IndexControllerjava awt image IndexColorModelindexc052indexcb67IndexController 4indexc856IndexControllerwięcej podobnych podstron