public function getFieldsets() { return [MainModule::t('Main information') => ['last_name', 'first_name', 'middle_name', 'avatar'], MainModule::t('Contacts') => ['phone', 'skype'], MainModule::t('Work') => ['post', 'direction', 'job_start_at', 'job_end_at'], MainModule::t('Education') => ['classroom', 'education_start_at', 'education_end_at'], MainModule::t('Social networks') => ['vk_link', 'odnoklassniki_link', 'facebook_link', 'twitter_link']]; }
public function getFieldsets() { $fieldsets = parent::getFieldsets(); unset($fieldsets[MainModule::t('Work')]); return $fieldsets; }