hide or custom oneLineDescription in Dataface_GlanceList

A place for users and developers of the Xataface to discuss and receive support.

Postby 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.
cbovio
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm

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

}

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 27 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved