예제 #1
0
파일: Partie.php 프로젝트: laiello/ascn
 public function __construct($arg = null)
 {
     parent::__construct('partie', $arg);
     if (!is_null($arg)) {
         $this->updateSlots();
     }
 }
예제 #2
0
파일: Jeu.php 프로젝트: laiello/ascn
    /**
     * 
     * Construit une instance de DBItem à partir
     * du nom de la classe finalement étendue.
     */
    public function __construct()
    {
        parent::__construct('jeu', queryLine('
			select *
			from jeu
			where jeu_name=\'' . strtolower(get_class($this)) . '\'
		'));
    }
예제 #3
0
파일: Slot.php 프로젝트: laiello/ascn
 public function __construct($arg = null)
 {
     parent::__construct('slot', $arg);
 }
예제 #4
0
파일: Joueur.php 프로젝트: laiello/ascn
 public function __construct($arg = null)
 {
     parent::__construct('joueur', $arg);
 }