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); }
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); }