Thnx - sorry for sounding so negative, I really enjoy working with the new eZPub
I can't wait for the 3.2 release - I have a deadline in a week, so I'll have a go at patching - could you give me a hint as to where the fetch function is implemented ?
are you talking about the possibility to sort objects on the basis of some of their attributes, for example by one element of an Enum? Did I understand it right or is my English just too bad?
In case, I would also be very interested how you can do that in eZ Publish. thx
If you go there you can read about filtering and sorting with the fetch function.
As it is right now (3.1) you can only sort on the generic attributes that all objects have such as name - publish date etc... If you want to sort or filter by some custom attribute (like the value of an enum field) you will have to use 3.2.
I've tried to locate the php files that implements the fetch function. It might be possible to patch the 3.2 functionality into 3.1.. But I can't find them - still searching though.
Generally you can find the functions/parameters for "fetch" in /kernel/content/function_definition.php, for example the function "list" links to /kernel/content/ezcontentfunctioncollection.php ...