XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsFormLabel Class Reference
Inheritance diagram for XoopsFormLabel:
Inheritance graph

Public Member Functions

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

Public Attributes

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

Detailed Description

A text label

Definition at line 26 of file formlabel.php.

Member Function Documentation

XoopsFormLabel::getValue (   $encode = false)

Get the "value" attribute

Parameters
bool$encodeTo sanitizer the text?
Returns
string

Definition at line 55 of file formlabel.php.

XoopsFormLabel::render ( )

Prepare HTML for output

Returns
string

Definition at line 65 of file formlabel.php.

XoopsFormLabel::XoopsFormLabel (   $caption = '',
  $value = '',
  $name = '' 
)

Constructor

Parameters
string$captionCaption
string$valueText

Definition at line 42 of file formlabel.php.

Member Data Documentation

XoopsFormLabel::$_value

Definition at line 34 of file formlabel.php.


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