diff --git a/reference/yaf/tutorials.xml b/reference/yaf/tutorials.xml index 2cd0c579fb..cb5e385433 100644 --- a/reference/yaf/tutorials.xml +++ b/reference/yaf/tutorials.xml @@ -106,7 +106,9 @@ foo=bar class IndexController extends Yaf_Controller_Abstract { /* default action */ public function indexAction() { - $this->view->word = "hello world"; + $this->_view->word = "hello world"; + //or + // $this->getView()->word = "hello world"; } } ?>