[TASK] Rename variable $P to $wizardParameters 24/44424/2
authorGernot Schulmeister <gernotschulmeister@gmx.at>
Fri, 30 Oct 2015 18:17:39 +0000 (19:17 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Oct 2015 10:16:29 +0000 (11:16 +0100)
Resolves: #71187
Releases: master
Change-Id: I151b7f39033f430e85251c90006e40e5c3eb9c77
Reviewed-on: https://review.typo3.org/44424
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php

index 0e4b4ce..9f49b3a 100644 (file)
@@ -31,7 +31,7 @@ class ColorpickerController extends AbstractWizardController
      *
      * @var array
      */
      *
      * @var array
      */
-    public $P;
+    public $wizardParameters;
 
     /**
      * Value of the current color picked.
 
     /**
      * Value of the current color picked.
@@ -136,7 +136,7 @@ class ColorpickerController extends AbstractWizardController
     protected function init()
     {
         // Setting GET vars (used in frameset script):
     protected function init()
     {
         // Setting GET vars (used in frameset script):
-        $this->P = GeneralUtility::_GP('P');
+        $this->wizardParameters = GeneralUtility::_GP('P');
         // Setting GET vars (used in colorpicker script):
         $this->colorValue = GeneralUtility::_GP('colorValue');
         $this->fieldChangeFunc = GeneralUtility::_GP('fieldChangeFunc');
         // Setting GET vars (used in colorpicker script):
         $this->colorValue = GeneralUtility::_GP('colorValue');
         $this->fieldChangeFunc = GeneralUtility::_GP('fieldChangeFunc');
@@ -282,13 +282,13 @@ class ColorpickerController extends AbstractWizardController
             'wizard_colorpicker',
             array(
                 'showPicker' => 1,
             'wizard_colorpicker',
             array(
                 'showPicker' => 1,
-                'colorValue' => $this->P['currentValue'],
-                'fieldName' => $this->P['itemName'],
-                'formName' => $this->P['formName'],
-                'exampleImg' => $this->P['exampleImg'],
-                'md5ID' => $this->P['md5ID'],
-                'fieldChangeFunc' => serialize($this->P['fieldChangeFunc']),
-                'fieldChangeFuncHash' => $this->P['fieldChangeFuncHash'],
+                'colorValue' => $this->wizardParameters['currentValue'],
+                'fieldName' => $this->wizardParameters['itemName'],
+                'formName' => $this->wizardParameters['formName'],
+                'exampleImg' => $this->wizardParameters['exampleImg'],
+                'md5ID' => $this->wizardParameters['md5ID'],
+                'fieldChangeFunc' => serialize($this->wizardParameters['fieldChangeFunc']),
+                'fieldChangeFuncHash' => $this->wizardParameters['fieldChangeFuncHash'],
             )
         );
         $this->content = $this->getPageRenderer()->render(PageRenderer::PART_HEADER) . '
             )
         );
         $this->content = $this->getPageRenderer()->render(PageRenderer::PART_HEADER) . '