コード例 #1
0
 /**
  * Renvoie les Qgs liés à la collection
  * @return QgCollection
  */
 public function getQgs()
 {
     if (is_null($this->cacheQgs)) {
         $this->cacheQgs = QgBusiness::getFromUtilisateurs($this);
         $this->cacheQgs->store();
     }
     return $this->cacheQgs;
 }
コード例 #2
0
 /**
  * Renvoie les Qgs liés aux Competences de cette collection
  * @return QgCollection
  */
 public function getQgs()
 {
     if (is_null($this->cacheQgs)) {
         $this->cacheQgs = QgBusiness::getFromCompetences($this);
         $this->cacheQgs->store();
     }
     return $this->cacheQgs;
 }
コード例 #3
0
ファイル: Joueur.php プロジェクト: eleparquier/nj_common
 /**
  * Renvoie les Qgs liés à l'objet
  * @return QgCollection
  */
 public function getQgs()
 {
     if (is_null($this->cacheQgs)) {
         $this->cacheQgs = QgBusiness::getByJoueur($this);
         $this->cacheQgs->store();
     }
     return $this->cacheQgs;
 }