/** * Card constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('parcour_id' => 1, 'tee_id' => 1, 'slope' => 72, 'rating' => 115, 'distance' => '', 'stroke' => '')), true); parent::__construct($attributes); }
/** * Entreeplayer constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('player_id' => 0, 'competcategorie_id' => 0, 'num' => 1, 'hcp' => 0)), true); parent::__construct($attributes); }
/** * Statustour constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('libelle' => '')), true); parent::__construct($attributes); }
/** * Player constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('nom' => '', 'prenom' => '', 'langue_id' => '1', 'nation_id' => '1', 'club_id' => '1', 'statusplayer_id' => '1', 'hcp' => '0', 'naissance' => new Date(), 'licence' => '')), true); parent::__construct($attributes); }
/** * Domaine constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('nom' => '', 'url' => '', 'typedomaine_id' => 1, 'actif' => false)), true); parent::__construct($attributes); }
/** * Parcour constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('nom' => '', 'club_id' => '1', 'nbtrous' => 18)), true); parent::__construct($attributes); }
/** * Competcategorie constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('categorie_id' => 0, 'compet_id' => MySession::getModel('compet')->id)), true); parent::__construct($attributes); }
/** * Tour constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('num' => 1, 'statustour_id' => 1, 'datetour' => new Carbon(), 'formulecompet_id' => 1)), true); parent::__construct($attributes); }
/** * Configdepart constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('nbjoueurs' => 0, 'starttee' => 1, 'startheure' => '08:00', 'interval' => 10, 'startergap' => 0, 'slotcount' => 0, 'slotbyflight' => 3)), true); parent::__construct($attributes); }
/** * Slot constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('flight_id' => 0, 'num' => 0)), true); parent::__construct($attributes); }
/** * Categorie constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('user_id' => '', 'sexe_id' => 1, 'hcpmin' => 0, 'hcpmax' => 36, 'agemin' => 0, 'agemax' => 99, 'agelimityear' => 0, 'tee_id' => 2)), true); parent::__construct($attributes); }
/** * Entree constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('statusentree_id' => 1, 'hcp' => 0, 'teamname' => '')), true); parent::__construct($attributes); }
/** * Compet constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('nom' => '', 'genrecompet_id' => 1, 'typecompet_id' => 1, 'modecompet_id' => 1, 'statuscompet_id' => 1, 'date' => new Date(), 'nbtours' => 1, 'insopen' => new Date(), 'insclose' => new Date(), 'maxplayers' => 156, 'teeselection' => 0, 'actif' => false)), true); parent::__construct($attributes); }
/** * Test constructor. * @param array $attributes */ public function __construct(array $attributes = array()) { $this->setRawAttributes(array_merge($this->attributes, array('valeur' => 10, 'actif' => false, 'birthday' => new Date())), true); parent::__construct($attributes); }