Forums / General / Get contentclass attribute by string identifier

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

Get contentclass attribute by string identifier

Author Message

Willie Seabrook

Thursday 18 December 2003 9:35:12 pm

How to do this?

$contentObjectVersion->contentObjectAttributes();

returns an array and the identifier attribute in each element is set to null.

Regards,
Willie Seabrook

Gunnstein Lye

Friday 19 December 2003 8:12:52 am

You mean content object attribute, right?

$contentObjectVersion->dataMap() returns a hash with all attributes, with identifier as key.

Willie Seabrook

Friday 19 December 2003 10:42:02 pm

Thanks,

I used a raw database call in the end due to performance. (Its going to be going through about 30000 records) And 30000 * 15 raw mysql calls should be much faster than using the Exponential API.