webEdition 9.x Objekte mit PHP bearbeiten

function saveDataToObject($field, $data){
	$object = new we_contents_objectFile();
	$object->initByID($GLOBALS['objectNewID']);
	$object->setElementS($field, $data); // setElementS() for string, setElementI() for integer and setElementB() for binary
	$object-> we_publish();
}
Last Updated:
Contributors: Finn Thorwarth