XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
TplfileUploadForm.class.php
1<?php
2
3if (!defined('XOOPS_ROOT_PATH')) {
4 exit();
5}
6
7require_once XOOPS_ROOT_PATH . '/core/XCube_ActionForm.class.php';
8require_once XOOPS_MODULE_PATH . '/legacy/class/Legacy_Validator.class.php';
9
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}
getTokenName()
Gets the token name of this actionform's token.
prepare()
[Abstract] Set up form properties and field properties.
Represents the special property[] which handles uploaded file. XCube_GenericArrayProperty<XCube_FileP...