Location: PHPKode > projects > AModules3 > amodules-3.0.1/samples/08-namespaces/lib/namespacetest/namespacetest.php
// Namespace loader.
class namespacetest extends Namespace {
    function initNamespace(){
            ->addMenuItem('Launch namespace test',$this->short_name.';Index');
    function page_Index($p){
            ->add('HelloWorld',null,'content')->setMessage('You are now inside a different namespace. You can have as many pages as you want here, the whole sub-application. Imagine how easy it would be to use namespaces for Help browser or even one could be written as your application expector!<p align="center"><input type=button value="Back" onclick="'.$this->add('Ajax')->redirect(';Index')->getString().'">');
Return current item: AModules3