XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsFormLabel Class Reference
Inheritance diagram for XoopsFormLabel:
XoopsFormElement

Public Member Functions

 __construct ($caption='', $value='')
 
 XoopsFormLabel ($caption='', $value='')
 
 getValue ()
 
 render ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 XoopsFormElement ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setId ($id)
 
 getId ()
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ()
 
 setDescription ($description)
 
 getDescription ()
 
 setHidden ()
 
 isHidden ()
 
 isBreak ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ()
 
 getMessageForJS ()
 

Data Fields

 $_value
 
- Data Fields inherited from XoopsFormElement
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = ''
 
 $_hidden = false
 
 $_extra = ''
 
 $_required = false
 
 $_description = ''
 
 $_id = null
 

Detailed Description

Definition at line 18 of file formlabel.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

Parameters
string$captionCaption
string$valueText

Definition at line 34 of file formlabel.php.

Member Function Documentation

◆ getValue()

getValue ( )

Get the text

Returns
string

Definition at line 49 of file formlabel.php.

◆ render()

render ( )

Prepare HTML for output

Returns
string

Reimplemented from XoopsFormElement.

Definition at line 59 of file formlabel.php.

◆ XoopsFormLabel()

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

Definition at line 39 of file formlabel.php.

Field Documentation

◆ $_value

$_value

Definition at line 26 of file formlabel.php.


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