/** * Get the associated Espais object * * @param PropelPDO Optional Connection object. * @return Espais The associated Espais object. * @throws PropelException */ public function getEspais(PropelPDO $con = null) { if ($this->aEspais === null && $this->espais_espaiid !== null) { $this->aEspais = EspaisPeer::retrieveByPk($this->espais_espaiid); /* 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->aEspais->addHorarisespaiss($this); */ } return $this->aEspais; }