Ejemplo n.º 1
0
 /**
  * Declares an association between this object and a Institucion object.
  *
  * @param      Institucion $v
  * @return     InstitucionI18n The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setInstitucion(Institucion $v = null)
 {
     if ($v === null) {
         $this->setId(NULL);
     } else {
         $this->setId($v->getId());
     }
     $this->aInstitucion = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Institucion object, it will not be re-added.
     if ($v !== null) {
         $v->addInstitucionI18n($this);
     }
     return $this;
 }