/** * Declares an association between this object and a CcTag object. * * @param CcTag $v * @return CcFileTag The current object (for fluent API support) * @throws PropelException */ public function setCcTag(CcTag $v = null) { if ($v === null) { $this->setDbTagId(NULL); } else { $this->setDbTagId($v->getDbId()); } $this->aCcTag = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the CcTag object, it will not be re-added. if ($v !== null) { $v->addCcFileTag($this); } return $this; }