Author Topic

Dave Dykshoorn

Monday 22 September 2003 2:28:42 pm

Comment38786

I'm able to store content now of common int and text types however can you (or anyone else for that matter) explain how to store an object relation list and a binary file attribute with a new content object?

Basically I'm looking for a replacement for this, which i know is completely bogus:

$attributeValue = $file;
$contentObjectAttributes[1]->setAttribute( 'binary_file', $attributeValue );
$contentObjectAttributes[1]->store();