Page 1 of 1

[SOLVED] Name of current record

PostPosted: Mon Sep 21, 2009 8:50 am
by cbrunet
Hi,

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

Charles.

PostPosted: Mon Sep 21, 2009 12:33 pm
by shannah
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');
}