|
TYPO3 API
SVNRelease
|
Public Member Functions | |
| init () | |
| main () | |
| printContent () | |
| frameSet () | |
| colorMatrix () | |
| colorList () | |
| colorImage () | |
| getIndex ($im, $x, $y) | |
Public Attributes | |
| $P | |
| $colorValue | |
| $fieldChangeFunc | |
| $fieldName | |
| $formName | |
| $md5ID | |
| $showPicker | |
| $HTMLcolorList = "aqua,black,blue,fuchsia,gray,green,lime,maroon,navy,olive,purple,red,silver,teal,yellow,white" | |
| $pickerImage = '' | |
| $imageError = '' | |
| $doc | |
| $content | |
Protected Member Functions | |
| areFieldChangeFunctionsValid () | |
Protected Attributes | |
| $fieldChangeFuncHash | |
Definition at line 74 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::areFieldChangeFunctionsValid | ( | ) | [protected] |
Determines whether submitted field change functions are valid and are coming from the system and not from an external abuse.
Definition at line 448 of file wizard_colorpicker.php.
Referenced by init().
| SC_wizard_colorpicker::colorImage | ( | ) |
Creates a color image selector
Definition at line 392 of file wizard_colorpicker.php.
Referenced by main().
| SC_wizard_colorpicker::colorList | ( | ) |
Creates a selector box with all HTML color names.
Definition at line 362 of file wizard_colorpicker.php.
Referenced by main().
| SC_wizard_colorpicker::colorMatrix | ( | ) |
| SC_wizard_colorpicker::frameSet | ( | ) |
Returnes a frameset so our JavaScript Reference isn't lost Took some brains to figure this one out ;-) If Peter wouldn't have been I would've gone insane...
Definition at line 253 of file wizard_colorpicker.php.
Referenced by main().
| SC_wizard_colorpicker::getIndex | ( | $ | im, |
| $ | x, | ||
| $ | y | ||
| ) |
Gets the HTML (Hex) Color Code for the selected pixel of an image This method handles the correct imageResource no matter what format
| pointer | Valid ImageResource returned by t3lib_stdgraphic::imageCreateFromFile |
| integer | X-Coordinate of the pixel that should be checked |
| integer | Y-Coordinate of the pixel that should be checked |
Definition at line 425 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::init | ( | ) |
Initialises the Class
Definition at line 109 of file wizard_colorpicker.php.
References $BACK_PATH, t3lib_div\_GP(), areFieldChangeFunctionsValid(), t3lib_div\getFileAbsFileName(), and t3lib_div\makeInstance().
| SC_wizard_colorpicker::main | ( | ) |
Main Method, rendering either colorpicker or frameset depending on ->showPicker
Definition at line 188 of file wizard_colorpicker.php.
References $content, t3lib_div\_GP(), colorImage(), colorList(), and frameSet().
| SC_wizard_colorpicker::printContent | ( | ) |
Returnes the sourcecode to the browser
Definition at line 240 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$colorValue |
Definition at line 78 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$content |
Definition at line 99 of file wizard_colorpicker.php.
Referenced by main().
| SC_wizard_colorpicker::$doc |
Definition at line 98 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$fieldChangeFunc |
Definition at line 79 of file wizard_colorpicker.php.
SC_wizard_colorpicker::$fieldChangeFuncHash [protected] |
Definition at line 80 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$fieldName |
Definition at line 81 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$formName |
Definition at line 82 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$HTMLcolorList = "aqua,black,blue,fuchsia,gray,green,lime,maroon,navy,olive,purple,red,silver,teal,yellow,white" |
Definition at line 87 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$imageError = '' |
Definition at line 91 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$md5ID |
Definition at line 83 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$P |
Definition at line 77 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$pickerImage = '' |
Definition at line 90 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::$showPicker |
Definition at line 84 of file wizard_colorpicker.php.
1.7.5.1