Example #1
0
 public function getHorariss($criteria = null, PropelPDO $con = null)
 {
     $C = $criteria;
     if (is_null($criteria)) {
         $C = new Criteria();
     }
     $C = HorarisPeer::getCriteriaActiu($C, $this->getSiteId());
     return parent::getHorariss($C, null);
 }
Example #2
0
 public function getHorariss($criteria = null, PropelPDO $con = null)
 {
     $C = $criteria;
     if (is_null($criteria)) {
         $C = new Criteria();
     }
     $C = HorarisPeer::getCriteriaActiu($C, $this->getSiteId());
     $C->addAscendingOrderByColumn(HorarisPeer::DIA);
     $C->addAscendingOrderByColumn(HorarisPeer::HORAINICI);
     return parent::getHorariss($C, null);
 }