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

Public Member Functions

 __construct ($caption='', $value='', $name='')
 
 getValue ($encode=false)
 
 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 ()
 

Data Fields

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

Detailed Description

A text label

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

Parameters
string$captionCaption
string$valueText
string$name
Here is the call graph for this function:

Member Function Documentation

◆ getValue()

getValue (   $encode = false)

Get the "value" attribute

Parameters
bool$encodeTo sanitizer the text?
Returns
string
Here is the caller graph for this function:

◆ render()

render ( )

Prepare HTML for output

Returns
string

Reimplemented from XoopsFormElement.

Here is the call graph for this function:

Field Documentation

◆ $_value

$_value

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