Exemple #1
0
 /**
  * *http[GET Home]* *
  * @param type \Controllers\Index
  */
 public function index($uri)
 {
     $view = \GTFramework\View::getInstance();
     $view->username = '******';
     $view->title = 'Home';
     $view->appendToLayout('body2', 'Admin/Index.php');
     $view->appendToLayout('body1', 'PartialViews/Register.php');
     $view->display('Layouts/Default.php', []);
 }
Exemple #2
0
 public function __construct()
 {
     $this->content = \GTFramework\View::getInstance()->getCDN();
     $this->logger = \GTFramework\App::getLogger();
 }