示例#1
0
 /**
  * A method to get the delivery limitations of an advertisement
  * object from the database, and return them as an array.
  *
  * @return array An array of arrays, each representing a delivery
  *               limitation, for example:
  *               array(
  *                   [ad_id]             => 1
  *                   [logical]           => and
  *                   [type]              => Time:Hour
  *                   [comparison]        => ==
  *                   [data]              => 1,7,18,23
  *                   [executionorder]    => 1
  *               )
  */
 function getDeliveryLimitations()
 {
     return $this->oMaxDalMaintenancePriority->getAllDeliveryLimitationsByTypeId($this->id, 'ad');
 }