コード例 #1
0
ファイル: backend.php プロジェクト: naujasdizainas/forkcms
 public function __construct()
 {
     $URL = new BackendURL();
     new BackendTemplate();
     new BackendNavigation();
     new BackendHeader();
     $action = new BackendAction($URL->getAction(), $URL->getModule());
     $action->execute();
 }
コード例 #2
0
ファイル: backend.php プロジェクト: netconstructor/forkcms
 /**
  * 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();
 }