XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
formimage.class.php
Go to the documentation of this file.
1
<?php
2
// $Id$
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
15
class
RMFormImage
extends
RMFormElement
16
{
17
private
$default
=
''
;
18
19
public
function
__construct
($caption, $name,
$default
=
''
){
20
21
$this->
setCaption
($caption);
22
$this->
setName
($name);
23
$this->
default
=
$default
;
24
25
!defined(
'RM_FRAME_USERS_CREATED'
) ? define(
'RM_FRAME_USERS_CREATED'
, 1) :
''
;
26
}
27
28
public
function
render
(){
29
30
$util =
RMUtilities::get
();
31
return
$util->image_manager($this->
getName
(), $this->
id
(), $this->
default
);
32
33
}
34
}
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
class
fields
formimage.class.php
Generated on Sun Mar 17 2013 20:41:05 for XOOPS RMCommon Utilities by
1.8.3.1