mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
correct example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329535 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
35d4da3258
commit
aeac24ae67
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue