[SOLVED] Name of current record

Archived from the Xataface Users forum.

cbrunet — Mon Sep 21, 2009 8:50 am

Hi,

How can I determine what is displayed as the name of the current record in Details view?

Charles.


shannah — Mon Sep 21, 2009 12:33 pm

You can override this value by defining the getTitle() method in your delegate class.

e.g.

Code: Select all
function getTitle(&$record){     return $record->val('first_name'); }