Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 /**
  * 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);
 }
Пример #3
0
 /**
  * Statustour constructor.
  * @param array $attributes
  */
 public function __construct(array $attributes = array())
 {
     $this->setRawAttributes(array_merge($this->attributes, array('libelle' => '')), true);
     parent::__construct($attributes);
 }
Пример #4
0
 /**
  * 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);
 }
Пример #5
0
 /**
  * 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);
 }
Пример #6
0
 /**
  * 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);
 }
Пример #7
0
 /**
  * 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);
 }
Пример #8
0
 /**
  * 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);
 }
Пример #9
0
 /**
  * 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);
 }
Пример #10
0
 /**
  * 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);
 }
Пример #11
0
 /**
  * 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);
 }
Пример #12
0
 /**
  * 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);
 }
Пример #13
0
 /**
  * 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);
 }
Пример #14
0
 /**
  * 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);
 }