fixed forgotten fonction

This commit is contained in:
Thomas Rubini 2023-01-12 15:13:21 +01:00
parent 94dafd735c
commit 26e97c2916
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
2 changed files with 2 additions and 2 deletions

View File

@ -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()));
}

View File

@ -4,7 +4,7 @@ final class Helloworld
{
private $_S_message = "Hello World";
public function donneMessage()
public function getMessage()
{
return $this->_S_message ;
}