fixed forgotten fonction
This commit is contained in:
parent
94dafd735c
commit
26e97c2916
@ -5,7 +5,7 @@ final class HelloworldController
|
||||
public function defaultAction()
|
||||
{
|
||||
$O_helloworld = new Helloworld();
|
||||
View::show('helloworld/view', array('helloworld' => $O_helloworld->donneMessage()));
|
||||
View::show('helloworld/view', array('helloworld' => $O_helloworld->getMessage()));
|
||||
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ final class Helloworld
|
||||
{
|
||||
private $_S_message = "Hello World";
|
||||
|
||||
public function donneMessage()
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->_S_message ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user