hide or custom oneLineDescription in Dataface_GlanceList

Archived from the Xataface Users forum.

cbovio — Thu May 24, 2007 2:04 am

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.


shannah — Thu May 24, 2007 6:18 am

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();

}