Forums / Developer / How to get Binary File Data?
Willie Seabrook
Friday 19 September 2003 3:43:09 am
I need to load a text file inside a workflow that has previously been loaded into ez.
I am trying a number of things including:
$processParameters = $process->attribute( 'parameter_list' ); $objectID = $processParameters['object_id']; $object =& eZContentObject::fetch( $objectID ); $currentVersion =& $object->currentVersion(); $dataMap = $currentVersion->dataMap(); $fileAttr = $dataMap['list_data'];$binaryFile = $fileAttr->attribute('filepath');
How on earth do we find our way round objects when nothing is hard coded? Whats the best methods?
Regards,Willie
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0002 secs