@@ -670,7 +670,7 @@ |
||
| 670 | 670 | /** |
| 671 | 671 | * render the form header html |
| 672 | 672 | * @return string |
| 673 | - */ |
|
| 673 | + */ |
|
| 674 | 674 | public function renderHeader() |
| 675 | 675 | { |
| 676 | 676 | $options = $this->toArray(); |
@@ -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' => 80, '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)) |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function getCanonical() |
| 23 | 23 | { |
| 24 | 24 | $params = neon()->controller->actionParams; |
| 25 | - $params[0] = neon()->controller->getRoute(); |
|
| 25 | + $params[0] = neon()->controller->getRoute(); |
|
| 26 | 26 | $urlManager = neon()->getUrlManager(); |
| 27 | 27 | $url = $urlManager->createUrl($params); |
| 28 | 28 | if (strpos($url, '://') === false) { |
@@ -923,7 +923,4 @@ |
||
| 923 | 923 | if (!empty($params['assign'])) { |
| 924 | 924 | $smarty->assign($params['assign'], $output); |
| 925 | 925 | } else { |
| 926 | - return $output; |
|
| 927 | - } |
|
| 928 | - } |
|
| 929 | -} |
|
| 926 | + return $output |
|
| 930 | 927 | \ No newline at end of file |