예제 #1
0
파일: class.Game.php 프로젝트: jfefes/ORK3
 public function __construct()
 {
     parent::__construct();
     $this->game = new yapo($this->db, DB_PREFIX . 'game');
     $this->team = new yapo($this->db, DB_PREFIX . 'game_team');
     $this->objective = new yapo($this->db, DB_PREFIX . 'game_objective');
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->split = new yapo($this->db, DB_PREFIX . 'split');
     $this->account = new yapo($this->db, DB_PREFIX . 'account');
     $this->transaction = new yapo($this->db, DB_PREFIX . 'transaction');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->mundane = new yapo($this->db, DB_PREFIX . 'mundane');
     $this->auth = new yapo($this->db, DB_PREFIX . 'authorization');
     $this->app = new yapo($this->db, DB_PREFIX . 'application');
     $this->app_auth = new yapo($this->db, DB_PREFIX . 'application_auth');
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->mundane = new yapo($this->db, DB_PREFIX . 'mundane');
     $this->kingdom = new yapo($this->db, DB_PREFIX . 'kingdom');
     $this->park = new yapo($this->db, DB_PREFIX . 'park');
     $this->unit = new yapo($this->db, DB_PREFIX . 'unit');
     $this->event = new yapo($this->db, DB_PREFIX . 'event');
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->Bracket = new yapo($this->db, DB_PREFIX . 'bracket');
     $this->Glicko2 = new yapo($this->db, DB_PREFIX . 'glicko2');
     $this->Match = new yapo($this->db, DB_PREFIX . 'match');
     $this->Participant = new yapo($this->db, DB_PREFIX . 'participant');
     $this->Player = new yapo($this->db, DB_PREFIX . 'participant_mundane');
     $this->Tournament = new yapo($this->db, DB_PREFIX . 'tournament');
 }
예제 #6
0
파일: DataSet.php 프로젝트: jfefes/ORK3
 public function __construct()
 {
     parent::__construct();
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->attendance = new yapo($this->db, DB_PREFIX . 'attendance');
     $this->class = new yapo($this->db, DB_PREFIX . 'class');
 }
예제 #8
0
파일: class.Award.php 프로젝트: jfefes/ORK3
 public function __construct()
 {
     parent::__construct();
     $this->award = new yapo($this->db, DB_PREFIX . 'award');
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->mundane = new yapo($this->db, DB_PREFIX . 'mundane');
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->park = new yapo($this->db, DB_PREFIX . 'park');
     $this->kingdom = new yapo($this->db, DB_PREFIX . 'kingdom');
 }
예제 #11
0
파일: Unit.php 프로젝트: jfefes/ORK3
 public function __construct()
 {
     parent::__construct();
     $this->unit = new yapo($this->db, DB_PREFIX . 'unit');
     $this->members = new yapo($this->db, DB_PREFIX . 'unit_mundane');
 }
예제 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->event = new yapo($this->db, DB_PREFIX . 'event');
     $this->detail = new yapo($this->db, DB_PREFIX . 'event_calendardetail');
 }
예제 #13
0
파일: startup.php 프로젝트: jfefes/ORK3
    $GLOBALS['ORK3_SYSTEM'] = array();
    require_once DIR_ORK3 . 'class.Ork3.php';
    $ORK3 = new Ork3();
    $LIB = new Ork3LibContainer();
    foreach ($classes as $k => $file) {
        $path_parts = pathinfo($file);
        if ('php' == $path_parts['extension']) {
            require_once DIR_ORK3 . $path_parts['basename'];
        }
    }
    foreach ($classes as $k => $file) {
        $path_parts = pathinfo($file);
        if ('php' == $path_parts['extension']) {
            $class = explode('.', $path_parts['basename']);
            $class_name = $class[1];
            $chad_name = strtolower($class_name);
            if ('php' != $class_name && 'Ork3' != $class_name) {
                $LIB->{$chad_name} = new $class_name();
                /*
                if (strpos($class_name, 'Service')) {
                	$LIB->$chad_name = new JSONModel(substr($class_name, 0, strpos($class_name, 'Service')));
                } else {
                	$LIB->$chad_name = new APIModel($class_name);
                }
                */
            }
        }
    }
    Ork3::$Lib = $LIB;
    Ork3::$Lib->Log = $LOG;
}
예제 #14
0
파일: class.Park.php 프로젝트: jfefes/ORK3
 public function __construct()
 {
     parent::__construct();
     $this->park = new yapo($this->db, DB_PREFIX . 'park');
     $this->parkday = new yapo($this->db, DB_PREFIX . 'parkday');
 }