Beispiel #1
0
 /**
  * Declares an association between this object and a ContentObject object.
  *
  * @param                  ContentObject $v
  * @return LanguageObject The current object (for fluent API support)
  * @throws PropelException
  */
 public function setContentObject(ContentObject $v = null)
 {
     if ($v === null) {
         $this->setObjectId(NULL);
     } else {
         $this->setObjectId($v->getId());
     }
     $this->aContentObject = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ContentObject object, it will not be re-added.
     if ($v !== null) {
         $v->addLanguageObject($this);
     }
     return $this;
 }