1 |
<? |
2 |
/* |
3 |
## ----------------------------------------------------------------------------- |
4 |
## $Id: DataItem.php,v 1.1 2003/04/04 00:50:44 jonen Exp $ |
5 |
## ----------------------------------------------------------------------------- |
6 |
## $Log: DataItem.php,v $ |
7 |
## Revision 1.1 2003/04/04 00:50:44 jonen |
8 |
## + initial commit |
9 |
## |
10 |
## Revision 1.1 2003/03/01 22:57:23 cvsmax |
11 |
## + inital commit |
12 |
## |
13 |
## |
14 |
## ----------------------------------------------------------------------------- |
15 |
*/ |
16 |
|
17 |
class WebExplorer_Module_DataItem extends WebExplorer_Module_AbstractGUIModule { |
18 |
|
19 |
|
20 |
function set_gui_object() { |
21 |
if($this->_args['mode'] == 'view') { |
22 |
$this->_gui_object = new DataItem($this->_args['caption'], $this->_args['options']); |
23 |
} |
24 |
elseif($this->_args['mode'] == 'edit') { |
25 |
$this->_gui_object = new EditDataItem($this->_args['caption'], $this->_args['options'] ); |
26 |
} |
27 |
} |
28 |
|
29 |
|
30 |
} |
31 |
|
32 |
?> |