Last change
on this file was 93, checked in by chronos, 11 years ago |
- Fixed: System variable as parameter to constructors of descendents of Module class.
- Removed: End PHP mark "?>" from all files.
|
File size:
344 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | class TypeHidden extends TypeBase
|
---|
4 | {
|
---|
5 | function OnView($Item)
|
---|
6 | {
|
---|
7 | $Output = $Item['Value'];
|
---|
8 | return($Output);
|
---|
9 | }
|
---|
10 |
|
---|
11 | function OnEdit($Item)
|
---|
12 | {
|
---|
13 | $Output = '<input type="hidden" name="'.$Item['Name'].'" value="'.$Item['Value'].'">';
|
---|
14 | return($Output);
|
---|
15 | }
|
---|
16 |
|
---|
17 | function OnLoad($Item)
|
---|
18 | {
|
---|
19 | return($_POST[$Item['Name']]);
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.