コード例 #1
0
ファイル: BasePartidoLista.php プロジェクト: voota/voota
 /**
  * Declares an association between this object and a Lista object.
  *
  * @param      Lista $v
  * @return     PartidoLista The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setLista(Lista $v = null)
 {
     if ($v === null) {
         $this->setListaId(NULL);
     } else {
         $this->setListaId($v->getId());
     }
     $this->aLista = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Lista object, it will not be re-added.
     if ($v !== null) {
         $v->addPartidoLista($this);
     }
     return $this;
 }