svn: /phpdoc/en/trunk/reference/yaf/ tutorials.xml
| From: | Xinchen Hui | Date: | Fri, 22 Feb 2013 08:55:38 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/yaf/ tutorials.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11025@lists.php.net to get a copy of this message | ||
laruence Fri, 22 Feb 2013 08:55:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329535
Log:
correct example
Changed paths:
U phpdoc/en/trunk/reference/yaf/tutorials.xml
Modified: phpdoc/en/trunk/reference/yaf/tutorials.xml
===================================================================
--- phpdoc/en/trunk/reference/yaf/tutorials.xml 2013-02-22 08:52:49 UTC (rev 329534)
+++ phpdoc/en/trunk/reference/yaf/tutorials.xml 2013-02-22 08:55:38 UTC (rev 329535)
@@ -106,7 +106,9 @@
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";
}
}
?>