Forums / Developer / Creating a Simple Content Object via PHP / Comment38786
Dave Dykshoorn
Monday 22 September 2003 2:28:42 pm
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();