@@ -21,8 +21,8 @@ |
||
| 21 | 21 | public $dataMapKey = 'users'; |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @inheritdoc |
|
| 25 | - */ |
|
| 24 | + * @inheritdoc |
|
| 25 | + */ |
|
| 26 | 26 | public function getComponentDetails() |
| 27 | 27 | { |
| 28 | 28 | return [ |
@@ -14,21 +14,21 @@ discard block |
||
| 14 | 14 | |
| 15 | 15 | class ImageCompare extends ImageMultiple |
| 16 | 16 | { |
| 17 | - /** |
|
| 17 | + /** |
|
| 18 | 18 | * @inheritdoc |
| 19 | 19 | */ |
| 20 | - public $ddsDataType = 'json'; |
|
| 20 | + public $ddsDataType = 'json'; |
|
| 21 | 21 | |
| 22 | - /** |
|
| 22 | + /** |
|
| 23 | 23 | * @inheritdoc |
| 24 | 24 | */ |
| 25 | 25 | public function registerScripts($view) |
| 26 | 26 | { |
| 27 | - $view->registerAssetBundle(\neon\cms\assets\CmsFormAsset::class); |
|
| 27 | + $view->registerAssetBundle(\neon\cms\assets\CmsFormAsset::class); |
|
| 28 | 28 | $view->registerAssetBundle(\neon\firefly\assets\BrowserAsset::class); |
| 29 | - } |
|
| 29 | + } |
|
| 30 | 30 | |
| 31 | - /** |
|
| 31 | + /** |
|
| 32 | 32 | * @inheritdoc |
| 33 | 33 | */ |
| 34 | 34 | public function getFilterField() |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | return ['class' => 'neon\\core\\form\\fields\\Text']; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - /** |
|
| 39 | + /** |
|
| 40 | 40 | * @inheritdoc |
| 41 | 41 | */ |
| 42 | 42 | public function getComponentDetails() |
@@ -44,9 +44,9 @@ discard block |
||
| 44 | 44 | return [ |
| 45 | 45 | 'icon' => 'fa fa-image', 'group' => 'Media', 'order' => 612, 'label' => 'Image Compare' |
| 46 | 46 | ]; |
| 47 | - } |
|
| 47 | + } |
|
| 48 | 48 | |
| 49 | - public function getValueDisplay($context='') |
|
| 49 | + public function getValueDisplay($context='') |
|
| 50 | 50 | { |
| 51 | 51 | $json = $this->getValue(); |
| 52 | 52 | if (empty($json)) |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | foreach ($appSettings as $key => $value) { |
| 67 | 67 | // if the fields value is valid then save it |
| 68 | 68 | if ($appForm->getField($key)->validate()) { |
| 69 | - $saved = $this->getSettingsManager()->set($appKey, $key, $value); |
|
| 69 | + $saved = $this->getSettingsManager()->set($appKey, $key, $value); |
|
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | } |
@@ -333,7 +333,4 @@ |
||
| 333 | 333 | return $html; |
| 334 | 334 | } |
| 335 | 335 | profile_end('Html::Highlight'); |
| 336 | - return $html; |
|
| 337 | - } |
|
| 338 | - |
|
| 339 | -} |
|
| 336 | + return $html |
|
| 340 | 337 | \ No newline at end of file |
@@ -333,7 +333,4 @@ |
||
| 333 | 333 | return $html; |
| 334 | 334 | } |
| 335 | 335 | profile_end('Html::Highlight'); |
| 336 | - return $html; |
|
| 337 | - } |
|
| 338 | - |
|
| 339 | -} |
|
| 336 | + return $html |
|
| 340 | 337 | \ No newline at end of file |