API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormColorPicker Class Reference
Inheritance diagram for XoopsFormColorPicker:
Collaboration diagram for XoopsFormColorPicker:

Public Member Functions

 __construct ($caption, $name, $value='#FFFFFF')
 
 render ()
 
 renderValidationJS ()
 
- Public Member Functions inherited from XoopsFormText
 __construct ($caption, $name, $size, $maxlength, $value='')
 
 getSize ()
 
 getMaxlength ()
 
 getValue ($encode=false)
 
 setValue ($value)
 
 render ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ($encode=false)
 
 getTitle ($encode=true)
 
 setDescription ($description)
 
 getDescription ($encode=false)
 
 setHidden ()
 
 isHidden ()
 
 isRequired ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ($encode=false)
 
 setNocolspan ($nocolspan=true)
 
 getNocolspan ()
 
 getFormType ()
 
 setFormType ($value='')
 
 renderValidationJS ()
 
 render ()
 

Additional Inherited Members

- Data Fields inherited from XoopsFormText
 $_size
 
 $_maxlength
 
 $_value
 
- Data Fields inherited from XoopsFormElement
 $customValidationCode = array()
 
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = array()
 
 $_hidden = false
 
 $_extra = array()
 
 $_required = false
 
 $_description = ''
 
 $_nocolspan = false
 
 $_formtype = ''
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $caption,
  $name,
  $value = '#FFFFFF' 
)

XoopsFormColorPicker::XoopsFormColorPicker()

Parameters
mixed$caption
mixed$name
string$value

Member Function Documentation

◆ render()

render ( )

XoopsFormColorPicker::render()

Returns
string

Reimplemented from XoopsFormText.

Here is the call graph for this function:

◆ renderValidationJS()

renderValidationJS ( )

Returns custom validation Javascript

Returns
string Element validation Javascript

Reimplemented from XoopsFormElement.

Here is the call graph for this function:

The documentation for this class was generated from the following file: