Forums / Developer / Acces to object data_map in workflow

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

Acces to object data_map in workflow

Author Message

ludo thomas

Thursday 30 June 2005 2:46:22 am

hello,

I'm looking for accessing to email information(e.g)
that is in my object data_map.

I acces to the object_id without any problem:

 $parameters = $process->attribute( 'parameter_list' );
        $objectID =& $parameters['object_id'];

but how can I get the content of the object?

I tried something like:

 $data_map=& $parameters['data_map'];
$email = $data_map['email']->attribute('email');

but it doesn't work.
any help?

Björn X

Thursday 30 June 2005 4:10:07 am

here you go....

$obj =& eZContentObject::fetch($parameters['object_id']);
$data_map=& $obj->attribute( 'data_map' );
$email = $data_map['email']->content();

ludo thomas

Thursday 30 June 2005 5:06:41 am

thank you for your precious help.
it's exactly what I needed.

Ludo