예제 #1
0
 /**
  * function get_system_class
  * return the variables of the system instance
  * @return mixed
  */
 static function get_system_class()
 {
     if (Data::check_if_system_exists()) {
         foreach (get_class_vars(get_class(Data::$system_instance)) as $name => $value) {
             $hotel_array[$name] = Data::$system_instance->{$name};
         }
         return $hotel_array;
     }
     return null;
 }
예제 #2
0
<?php

/*
* * azure project presents:
                                         _
                                        | |
__,   __          ,_    _             _ | |
/  |  / / _|   |  /  |  |/    |  |  |_|/ |/ \_
\_/|_/ /_/  \_/|_/   |_/|__/   \/ \/  |__/\_/
       /|
       \|
				azure web
				version: 1.0a
				azure team
* * be carefully.
*/
// include load file
include_once '../Vendor/autoload.php';
// include load file
include_once '../Api/Init.php';
use Azure\Framework;
use Azure\Response;
use Azure\View;
use Azure\View\Data;
// start session
session_start();
Data::framework_instance(false, new Framework(true));
Data::check_if_user_exists();
Data::check_if_system_exists();
new Response();