| @@ -78,8 +78,8 @@ | ||
| 78 | 78 | public static function getSelectTypes() | 
| 79 | 79 |      { | 
| 80 | 80 | return [ | 
| 81 | - ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__ . '.SELECT_ALL', 'Select from all options')], | |
| 82 | - ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__ . '.SELECT_CUSTOM', 'Manually add options')], | |
| 81 | + ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__.'.SELECT_ALL', 'Select from all options')], | |
| 82 | + ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__.'.SELECT_CUSTOM', 'Manually add options')], | |
| 83 | 83 | ]; | 
| 84 | 84 | } | 
| 85 | 85 | |
| @@ -25,11 +25,11 @@ | ||
| 25 | 25 | |
| 26 | 26 | public function getCMSFields() | 
| 27 | 27 |      { | 
| 28 | -        $this->beforeUpdateCMSFields(function (FieldList $fields) { | |
| 28 | +        $this->beforeUpdateCMSFields(function(FieldList $fields) { | |
| 29 | 29 |              $fields->addFieldToTab('Root.Main', PresentedOptionsField::create( | 
| 30 | 30 | 'Options', | 
| 31 | 31 | $this->FilterFor, | 
| 32 | - _t(__CLASS__ . '.OPTIONS', 'Presented options') | |
| 32 | + _t(__CLASS__.'.OPTIONS', 'Presented options') | |
| 33 | 33 | )); | 
| 34 | 34 | }); | 
| 35 | 35 | |
| @@ -60,7 +60,7 @@ discard block | ||
| 60 | 60 | |
| 61 | 61 | public function getCMSFields() | 
| 62 | 62 |      { | 
| 63 | -        $this->beforeUpdateCMSFields(function (FieldList $fields) { | |
| 63 | +        $this->beforeUpdateCMSFields(function(FieldList $fields) { | |
| 64 | 64 |              $fields->removeByName('FilterFields'); | 
| 65 | 65 | |
| 66 | 66 |              $allColumnsField = $fields->dataFieldByName('AllColumns'); | 
| @@ -81,7 +81,7 @@ discard block | ||
| 81 | 81 | |
| 82 | 82 | $columnSources = CompositeField::create($allColumnsField, $filterFields); | 
| 83 | 83 | $columnSources | 
| 84 | - ->setTitle(_t(__CLASS__ . '.COLUMNS_SOURCES', 'Columns source(s)')) | |
| 84 | + ->setTitle(_t(__CLASS__.'.COLUMNS_SOURCES', 'Columns source(s)')) | |
| 85 | 85 |                  ->addExtraClass('ckan-columns__sources'); | 
| 86 | 86 |              $fields->addFieldToTab('Root.Main', $columnSources); | 
| 87 | 87 | |
| @@ -131,7 +131,7 @@ discard block | ||
| 131 | 131 | return DBField::create_Field( | 
| 132 | 132 | 'HTMLFragment', | 
| 133 | 133 | '<span class="ckan-columns--all-columns">' | 
| 134 | - . _t(__CLASS__ . '.ALL_COLUMNS', 'All columns') | |
| 134 | + . _t(__CLASS__.'.ALL_COLUMNS', 'All columns') | |
| 135 | 135 | . '</span>' | 
| 136 | 136 | ); | 
| 137 | 137 | } | 
| @@ -147,7 +147,7 @@ discard block | ||
| 147 | 147 | return DBField::create_Field( | 
| 148 | 148 | 'HTMLFragment', | 
| 149 | 149 | '<span class="ckan-columns--multiple">' | 
| 150 | - . _t(__CLASS__ . '.MULTIPLE_COLUMNS', 'Multiple columns') | |
| 150 | + . _t(__CLASS__.'.MULTIPLE_COLUMNS', 'Multiple columns') | |
| 151 | 151 | . '</span>' | 
| 152 | 152 | ); | 
| 153 | 153 | } |