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

"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".

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