public function action_index()
 {
     $hello = new Model_Hello();
     $data = $hello->find_all();
     $this->template->title = 'Hello World';
     $this->template->data = $data;
 }
Example #2
0
 public function indexAction()
 {
     // action body
     $obj = new Model_Hello();
     $this->view->hello = $obj->helloWorld();
 }