XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
formlabel.php
Go to the documentation of this file.
1
<?php
21
defined(
'XOOPS_ROOT_PATH'
) or die('Restricted access');
22
26
class
XoopsFormLabel
extends
XoopsFormElement
27
{
34
var
$_value
;
35
42
function
XoopsFormLabel
($caption =
''
, $value =
''
, $name =
''
)
43
{
44
$this->setCaption($caption);
45
$this->setName($name);
46
$this->_value = $value;
47
}
48
55
function
getValue($encode =
false
)
56
{
57
return
$encode ? htmlspecialchars($this->_value, ENT_QUOTES) : $this->_value;
58
}
59
65
function
render()
66
{
67
return
$this->getValue();
68
}
69
}
70
71
?>
L:
0xoops
xoops-2.5.6
htdocs
class
xoopsform
formlabel.php
Generated on Fri May 10 2013 01:04:25 for XOOPS 2.5.6 by
1.8.3.1