protected function afterAttributes(&$attributes, &$response, &$params, \GO\Base\Db\ActiveRecord $model) { unset($attributes['t.company_id']); //$attributes['name']=\GO::t('strName'); $attributes['companies.name'] = array('name' => 'companies.name', 'label' => \GO::t('company', 'addressbook')); return parent::afterAttributes($attributes, $response, $params, $model); }