Forums / Developer / Showing all the objects posted by a user

Showing all the objects posted by a user

Author Message

J-A Eberhard

Tuesday 08 March 2005 9:14:00 am

I need to allow registered users to post info using several different classes and to be able to fetch all the objects posted by 1 user.
So far I know, there is no fetch operator allowing to get all objects posted by a user in a specific section of the website.
As there is a possibility to fetch by keyword, should I add a keyword, equal to the userID, to each objects created by the user in order to be able to fetch them later .... or there is an easier solution?

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Ɓukasz Serwatka

Tuesday 08 March 2005 10:09:21 pm

Hi,

So far I know, there is no fetch operator allowing to get all objects posted by a user in a specific section of the website.

No, but you can fetch all object using search operator and then in loop compare {$item.object.owner_id} with user id to display right data, for example.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog