Example #1
0
 /**
  * @param string $PostalCode
  * @param string $AllowSundaySorting
  * @param string $DeliveryDate
  * @param array $DeliveryOptions
  * @param array $Options
  * @param string $Coordinates
  * @param string $City
  * @param string $Street
  * @param string $HouseNr
  * @param string $HouseNrExt
  */
 public function __construct($PostalCode, $AllowSundaySorting, $DeliveryDate = null, $DeliveryOptions = ['PG'], $Options = ['Daytime'], $Coordinates = null, $City = null, $Street = null, $HouseNr = null, $HouseNrExt = null)
 {
     parent::__construct($AllowSundaySorting, $DeliveryDate, $DeliveryOptions, $Options);
     $this->setPostalcode($PostalCode);
     $this->setCoordinates($Coordinates);
     $this->setCity($City);
     $this->setStreet($Street);
     $this->setHouseNr($HouseNr);
     $this->setHouseNrExt($HouseNrExt);
 }
Example #2
0
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new LocationPeer();
     }
     return self::$peer;
 }
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }
Example #4
0
 public function delete(Doctrine_Connection $conn = null)
 {
     LuceneEngine::deleteLuceneIndexFor($this);
     return parent::delete($conn);
 }