XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
hidden.class.php
Go to the documentation of this file.
1
<?php
2
// $Id: hidden.class.php 825 2011-12-09 00:06:11Z i.bitcero $
3
// --------------------------------------------------------------
4
// Red México Common Utilities
5
// A framework for Red México Modules
6
// Author: Eduardo Cortés <i.bitcero@gmail.com>
7
// Email: i.bitcero@gmail.com
8
// License: GPL 2.0
9
// --------------------------------------------------------------
10
14
class
RMFormHidden
extends
RMFormElement
15
{
16
var
$_value
;
22
public
function
__construct
($name, $value){
23
$this->
setName
($name);
24
$this->_value = $value;
25
}
30
function
setValue
($value){
31
$this->_value = $value;
32
}
37
function
getValue
(){
38
return
$this->_value
;
39
}
44
function
render
(){
45
$ret
=
'<input type="hidden" name="'
.$this->getName().
'" id="'
.$this->
id
().
'" value="'
.$this->
getValue
().
'" />'
;
46
return
$ret
;
47
}
48
}
49
50
?>
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
class
fields
hidden.class.php
Generated on Sun Mar 17 2013 20:41:05 for XOOPS RMCommon Utilities by
1.8.3.1