SC_wizard_colorpicker Klassenreferenz
Aufstellung aller Elemente
Öffentliche Methoden |
| | init () |
| | main () |
| | printContent () |
| | frameSet () |
| | colorMatrix () |
| | colorList () |
| | colorImage () |
| | getIndex ($im, $x, $y) |
Öffentliche Attribute |
|
| $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 |
Dokumentation der Elementfunktionen
| SC_wizard_colorpicker::colorImage |
( |
|
) |
|
Creates a color image selector
- Rückgabe:
- void
| SC_wizard_colorpicker::colorList |
( |
|
) |
|
Creates a selector box with all HTML color names.
- Rückgabe:
- void
| SC_wizard_colorpicker::colorMatrix |
( |
|
) |
|
Creates a color matrix table
- Rückgabe:
- void
| 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...
- Rückgabe:
- void
| 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
- Parameter:
-
| 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 |
- Rückgabe:
- string HEX RGB value for color
- Siehe auch:
- colorImage()
| SC_wizard_colorpicker::init |
( |
|
) |
|
Initialises the Class
- Rückgabe:
- void
| SC_wizard_colorpicker::main |
( |
|
) |
|
Main Method, rendering either colorpicker or frameset depending on ->showPicker
- Rückgabe:
- void
| SC_wizard_colorpicker::printContent |
( |
|
) |
|
Returnes the sourcecode to the browser
- Rückgabe:
- void
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/typo3/wizard_colorpicker.php