getConfig('nameType') == 'split') { $this->_filterFields = ['firstName', 'lastName', 'email']; } else { $this->_filterFields = ['fullName', 'email']; } return $this; } public function getObjectInfo() { if (($info = parent::getObjectInfo())) { $info['itemTitle'] = $info['firstName'] . ' ' . $info['lastName']; } return $info; } protected function _getFromColumns() { $columns = parent::_getFromColumns(); $columns['firstName'] = new Zend_Db_Expr('IF (' . '`' . $this->_tableAlias . '`.`firstName` = "", ' . '`' . $this->_tableAlias . '`.`fullName`, ' . '`' . $this->_tableAlias . '`.`firstName`' . ')'); return $columns; } }