__('Logintype a'), 'M' => __('Logintype m'), 'E' => __('Logintype e'), 'W' => __('Logintype w'), 'D' => __('Logintype d')]; } public function getStatusList() { return ['normal' => __('Normal'), 'hidden' => __('Hidden')]; } public function getLogintypeTextAttr($value, $data) { $value = $value ? $value : (isset($data['logintype']) ? $data['logintype'] : ''); $list = $this->getLogintypeList(); return isset($list[$value]) ? $list[$value] : ''; } public function getStatusTextAttr($value, $data) { $value = $value ? $value : (isset($data['status']) ? $data['status'] : ''); $list = $this->getStatusList(); return isset($list[$value]) ? $list[$value] : ''; } }