Ejemplo n.º 1
0
 /**
  * Get the associated ChildSummary object
  *
  * @param  ConnectionInterface $con Optional Connection object.
  * @return ChildSummary The associated ChildSummary object.
  * @throws PropelException
  */
 public function getSummary(ConnectionInterface $con = null)
 {
     if ($this->aSummary === null && $this->id !== null) {
         $this->aSummary = ChildSummaryQuery::create()->findPk($this->id, $con);
         // Because this foreign key represents a one-to-one relationship, we will create a bi-directional association.
         $this->aSummary->setContentArea($this);
     }
     return $this->aSummary;
 }