Example #1
0
 public function getEspaiExternForm()
 {
     if ($this->hasEspaiExtern()) {
         $LEE = EspaisExternsPeer::criteriaHorari_EspaiExtern($this->getHorarisid(), new Criteria(), $this->getSiteId());
         return EspaisExternsPeer::initialize($LEE[0]->getIdespaiextern());
     } else {
         return EspaisExternsPeer::initialize(null);
     }
 }