public function __construct($arg = null) { parent::__construct('partie', $arg); if (!is_null($arg)) { $this->updateSlots(); } }
/** * * 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)) . '\' ')); }
public function __construct($arg = null) { parent::__construct('slot', $arg); }
public function __construct($arg = null) { parent::__construct('joueur', $arg); }