__('Is_use 1'), '0' => __('Is_use 0')]; } public function getIsUseTextAttr($value, $data) { $value = $value ? $value : (isset($data['is_use']) ? $data['is_use'] : ''); $list = $this->getIsUseList(); return isset($list[$value]) ? $list[$value] : ''; } }