Пример #1
0
 /**
  * Get the associated Hojas object
  *
  * @param      PropelPDO Optional Connection object.
  * @return     Hojas The associated Hojas object.
  * @throws     PropelException
  */
 public function getHojas(PropelPDO $con = null)
 {
     if ($this->aHojas === null && $this->hojas_id !== null) {
         $this->aHojas = HojasPeer::retrieveByPk($this->hojas_id);
         /* The following can be used additionally to
         		   guarantee the related object contains a reference
         		   to this object.  This level of coupling may, however, be
         		   undesirable since it could result in an only partially populated collection
         		   in the referenced object.
         		   $this->aHojas->addValoress($this);
         		 */
     }
     return $this->aHojas;
 }