note 111384 added to yaf.tutorials
| From: | bogdan dot albei at gmail dot com | Date: | Thu, 14 Feb 2013 15:18:33 +0000 |
| Subject: | note 111384 added to yaf.tutorials | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193634@lists.php.net to get a copy of this message | ||
There is an error in the IndexController, $this->view should be $this->_view. This is the
correct version:
<?php
class IndexController extends Yaf_Controller_Abstract {
/* default action */
public function indexAction() {
$this->_view->word = "hello world";
}
}
?>
----
Server IP: 69.147.83.199
Probable Submitter: 213.86.101.139
----
Manual Page -- http://php.net/manual/en/yaf.tutorials.php
Edit -- https://master.php.net/note/edit/111384
Del: integrated -- https://master.php.net/note/delete/111384/integrated
Del: useless -- https://master.php.net/note/delete/111384/useless
Del: bad code -- https://master.php.net/note/delete/111384/bad+code
Del: spam -- https://master.php.net/note/delete/111384/spam
Del: non-english -- https://master.php.net/note/delete/111384/non-english
Del: in docs -- https://master.php.net/note/delete/111384/in+docs
Del: other reasons-- https://master.php.net/note/delete/111384
Reject -- https://master.php.net/note/reject/111384
Search -- https://master.php.net/manage/user-notes.php