Hi guys, quick symfony / propel question. I have the following propel collection route:
api_offer:
class: sfPropelRouteCollection
options:
prefix_path: /api/offer
model: Offer
plural: offers
singluar: offer
actions: [ list ]
module: apiOffer
requirements:
sf_format: (?:html|json)
My question is, does anyone know of a way to pass a Criteria to the $this->getRoute()->getObjects(); in the action? Basically I need to retrieve different objects from the database depending on existing parameters in the route.
Thanks for all you help.