Esempio n. 1
0
 public function getSubscriptions($criteria = null, PropelPDO $con = null)
 {
     if (is_null($criteria)) {
         $criteria = new Criteria();
     }
     $criteria->addDescendingOrderByColumn(SubscriptionPeer::STOP);
     $criteria->addDescendingOrderByColumn(SubscriptionPeer::START);
     return parent::getSubscriptions($criteria, $con);
 }