class AmiSample_ListViewAdm extends Hyper_AmiClean_ListViewAdm{
public function init(){
parent::init();
$this->addColumn('fullname');
AMI_Event::addHandler('on_list_body_{fullname}', array($this, 'handleFullnameCell'), $this->getModId());
return $this;
}
public function handleFullnameCell($name, array $aEvent, $handlerModId, $srcModId){
$aEvent['aScope']['list_col_value'] = $aEvent['aScope']['lastname'].' '.$aEvent['aScope']['firstname'];
return $aEvent;
}
}