Esempio n. 1
0
 public function getWebMapSchoolLocation($con = null)
 {
     include_once 'lib/model/om/BaseWebMapSchoolLocationPeer.php';
     if ($this->aWebMapSchoolLocation === null && $this->map_school_location_id !== null) {
         $this->aWebMapSchoolLocation = WebMapSchoolLocationPeer::retrieveByPK($this->map_school_location_id, $con);
     }
     return $this->aWebMapSchoolLocation;
 }
Esempio n. 2
0
 public function executeMapsschool()
 {
     $this->module = $this->getModuleName();
     $id = $this->getRequestParameter('id');
     $this->location = WebMapSchoolLocationPeer::retrieveByPK($id);
     if (!$this->location) {
         echo 'location not found';
     }
 }