Wednesday 27 July 2005 3:09:28 pm
somthing like this, but without create a new operator, that is inside template language
function changeTotal ($idObjeto, $valor )
{
$object =& eZContentObject::fetch(238); $objectData = &$object->dataMap(); $attr = &$objectData['total'];
$attr->setAttribute( 'data_int', intval($valor) );
$attr->store();
}
Thanks,
Nicolay
Corenet S.A.
Bogota - Colombia
www.corenet.net.co
acamargo@corenet.net.co
|