Page 1 of 1

PostPosted: Thu May 24, 2007 2:04 am
by cbovio
hi,

another question about 0.7 : i need to hide or customize descriptions in views (creator, update date, etc...).

i found Dataface_GlanceList class with oneLineDescription method. How can i delegate it ?

thanks.

PostPosted: Thu May 24, 2007 6:18 am
by shannah

Hi,

You can implement a oneLineDescription method in your delegate class (or in the application delegate class that returns the one line description for a record.

e.g.

function oneLineDescription(&$record){

ÊÊÊ return $record->getTitle();

}