Class: I2CE Module ColorPicker (4.0.19)

From IHRIS Wiki


This article describes the class I2CE_Module_ColorPicker .

I2CE_Module_ColorPicker

Variables

$color_triples

An array of color pickers that need to update triple of rgb

Methods

__construct()

addColorPickerTriple()

Add a color picker which set a triple of (preferably hidden) input values to the RGB values selected @param mixed $attach. Either the id of a element to append the color picker to. @param string $showColor. The id of element to set the background color to when clicking on the color picker @param string $colorIDs. An array indexed by 0,1,2 of the id of input button to update the values to @param mixed $initColor. An optional inital color to set the color picker to. Either an array of rgb values (indexed by 012,rgb or RGB) or a hexmode color

addUpdateBackgroundColor()

Update a background color on a click @param string $id_action @param string $id_update

convertColorTripleHexToRGB()

convertColorTripleRGBToHex()

displayValue_color_triple_hex_single()

displayValue_color_triple_rgb_single()

ensureColorTripleHex()

ensureColorTripleRGB()

ensureHexColor()

Given an array which is a triple of colors or a string turn it into a hex string of colors. If it cannnot recognize it as a color, returns an empty string

ensureRGBColor()

Given an array which is a triple of colors or a string turn it into a comma seperated string of colors. If it cannnot recognize it as a color, returns an empty string

getHooks()

getMethods()

processValues_color_triple_hex_many()

processValues_color_triple_hex_single()

processValues_color_triple_rgb_many()

processValues_color_triple_rgb_single()

writeOutJS()

writes out the JS in any needed to display the color pickers.

Inherited Methods

action_configure()

This public method is inherited from I2CE_Module->action_configure()

action_disable()

This public method is inherited from I2CE_Module->action_disable()

action_enable()

This public method is inherited from I2CE_Module->action_enable()

action_initialize()

This public method is inherited from I2CE_Module->action_initialize()

getCLIHooks()

This public method is inherited from I2CE_Module->getCLIHooks()

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

post_update()

This public method is inherited from I2CE_Module->post_update()

pre_upgrade()

This public method is inherited from I2CE_Module->pre_upgrade()

upgrade()

This public method is inherited from I2CE_Module->upgrade()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

launchBackgroundProcess()

This method is inherited from I2CE_Module->launchBackgroundProcess()

launchBackgroundPHPScript()

This method is inherited from I2CE_Module->launchBackgroundPHPScript()

launchBackgroundPage()

This method is inherited from I2CE_Module->launchBackgroundPage()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()