示例#1
0
 /**
  * Declares an association between this object and a Llistes object.
  *
  * @param      Llistes $v
  * @return     MissatgesEmails The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setLlistes(Llistes $v = null)
 {
     if ($v === null) {
         $this->setIdllista(NULL);
     } else {
         $this->setIdllista($v->getIdllistes());
     }
     $this->aLlistes = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Llistes object, it will not be re-added.
     if ($v !== null) {
         $v->addMissatgesEmails($this);
     }
     return $this;
 }