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