//[FORM_NAME]获取器 public function get[FIELD_NAME]TextAttr($value, $data) { return self::BOOLEAN_TEXT[$data['[FORM_NAME_LOWER]']]; }