Пример #1
0
 /**
  * Declares an association between this object and a ConfigField object.
  *
  * @param      ConfigField $v
  * @return     FieldValue The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setConfigField(ConfigField $v = null)
 {
     if ($v === null) {
         $this->setFieldId(NULL);
     } else {
         $this->setFieldId($v->getId());
     }
     $this->aConfigField = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ConfigField object, it will not be re-added.
     if ($v !== null) {
         $v->addFieldValue($this);
     }
     return $this;
 }