Forums / Developer / Object removed / Comment47828

Author Topic

Gurudutt Verma

Monday 26 February 2007 6:39:25 am

Comment47828

Hi Fabien,

I hope you have created new datatype to operate your table in database.
if yes then from your datatype yourdatatype.php you can add function

function deleteStoredObjectAttribute( &$objectAttribute, $version = null )
{
if( is_null( $version ) )
{
yourtableClass::removeRow( $var1, $var2 );
/*Here you can write to remove values from your custom table*/
}
}

for more information please have a look in
kernel/classes/ezdatatype.php

I hope this will help you.