Exemplo n.º 1
0
 public function __construct()
 {
     $URL = new BackendURL();
     new BackendTemplate();
     new BackendNavigation();
     new BackendHeader();
     $action = new BackendAction($URL->getAction(), $URL->getModule());
     $action->execute();
 }
Exemplo n.º 2
0
 /**
  * Default constructor
  *
  * @return	void
  */
 public function __construct()
 {
     // create URL-object to handle the URL
     $URL = new BackendURL();
     // create new template so we have a reference that will be available on every module/action
     new BackendTemplate();
     // create a navigation object
     new BackendNavigation();
     // create a header-object
     new BackendHeader();
     // create a new action
     $action = new BackendAction($URL->getAction(), $URL->getModule());
     // execute the action
     $action->execute();
 }