Thursday 19 June 2008 6:05:51 am
Hi Alexandre,
the contentObjectAttribute argument is the eZContentObjectAttribute of the ContentObject (see eZContentObjectAttribute documentation here:http://pubsvn.ez.no/doxygen/trunk/html/classeZContentObjectAttribute.html). The code was a snipped from eZ's source code, not working out of the box. What I meant is that you can start looking at how this has been implemented, how eZ Publish does it. (from kernel/classes/ezbinaryfilehandler.php) $fileInfo = $contentObjectAttribute->storedFileInformation( $contentObject, $version,
$contentObjectAttribute->attribute( 'language_code' ) );
one typical way to get COA (ContentObjectAttributes) from a contentobject is for example: $contentObjectAttributes =& $contentobject->contentObjectAttributes( false, false, $language, false );
</Pascal>
|