XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
TplfileUploadForm.class.php
1
<?php
2
3
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
4
exit();
5
}
6
7
require_once XOOPS_ROOT_PATH .
'/core/XCube_ActionForm.class.php'
;
8
require_once XOOPS_MODULE_PATH .
'/legacy/class/Legacy_Validator.class.php'
;
9
10
class
LegacyRender_TplfileUploadForm
extends
XCube_ActionForm
11
{
12
public
function
getTokenName
()
13
{
14
return
'module.legacyRender.TplfileUploadForm.TOKEN'
;
15
}
16
17
public
function
prepare
()
18
{
19
//
20
// Set form properties
21
//
22
$this->mFormProperties[
'upload'
] =
new
XCube_FileArrayProperty
(
'upload'
);
23
24
//
25
// Set field properties
26
//
27
}
28
}
LegacyRender_TplfileUploadForm
Definition
TplfileUploadForm.class.php:11
LegacyRender_TplfileUploadForm\getTokenName
getTokenName()
Gets the token name of this actionform's token.
Definition
TplfileUploadForm.class.php:12
LegacyRender_TplfileUploadForm\prepare
prepare()
[Abstract] Set up form properties and field properties.
Definition
TplfileUploadForm.class.php:17
XCube_ActionForm
Definition
XCube_ActionForm.class.php:51
XCube_FileArrayProperty
Represents the special property[] which handles uploaded file. XCube_GenericArrayProperty<XCube_FileP...
Definition
XCube_Property.class.php:628
html
modules
legacyRender
admin
forms
TplfileUploadForm.class.php
Generated by
1.13.2