Ejemplo n.º 1
0
 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 8
0
 public function __construct()
 {
     parent::__construct();
     $this->award = new yapo($this->db, DB_PREFIX . 'award');
 }
Ejemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->mundane = new yapo($this->db, DB_PREFIX . 'mundane');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 11
0
Archivo: Unit.php Proyecto: 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');
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 13
0
    $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;
}
Ejemplo n.º 14
0
 public function __construct()
 {
     parent::__construct();
     $this->park = new yapo($this->db, DB_PREFIX . 'park');
     $this->parkday = new yapo($this->db, DB_PREFIX . 'parkday');
 }