Forums / Setup & design / Where-clause

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Where-clause

Author Message

Paal Are Solberg

Wednesday 17 September 2003 11:38:53 am

With fetch() I can return the objects in (say) a folder and display them nicely using custom templates.

But can I do an sql-like where-clause in a fetch (or in the display code), such that only objects with attribute values that meet certain conditions are returned (or displayed)... how would I do this?

If possible, I would like to set the selection (or display) criterion based on user selection (user input), how would I do this? ($view_parameters?)

Hope somebody can help witj this :)
regards,