Location: PHPKode > projects > AModules3 > amodules-3.0.1/lib/HelloWorld.php
<?
class HelloWorld extends AbstractView {
    private $message;
    function init(){
        $this->message = 'Hello world';
    }
    function setMessage($msg){
        $this->message=$msg;
    }
    function render(){
        $this->output('<p>'.$this->message.'</p>');
    }
}
Return current item: AModules3