|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| getTokenName () | |
| Gets the token name of this actionform's token. | |
| prepare () | |
| [Abstract] Set up form properties and field properties. | |
| validateUpload () | |
Public Member Functions inherited from XCube_ActionForm | |
| __construct () | |
| Constructor. | |
| getToken () | |
| Gets the token value of this actionform's token. | |
| getTokenErrorMessage () | |
| Gets a message about the failure of the token validation. | |
| set () | |
| Sets the raw value as the value of the form property. | |
| setVar () | |
| get ( $key, $index=null) | |
| Gets raw value. | |
| getVar ( $key, $index=null) | |
| & | getFormProperties () |
| Gets form properties of this member property. | |
| fetch () | |
| Fetches values through the request object. | |
| _validateToken () | |
| Validates the token. | |
| validate () | |
| Validates fetched values. | |
| hasError () | |
| Gets a value indicating whether this action form keeps error messages or error flag. | |
| addErrorMessage ( $message) | |
| Adds a message to the form's error message buffer. | |
| getErrorMessages () | |
| Gets error messages. | |
| load (&$obj) | |
| [Abstract] Initializes properties' values from an object. | |
| update (&$obj) | |
| [Abstract] Updates an object with properties values. | |
Data Fields | |
| $mOldFileName = null | |
| $_mIsNew = null | |
| $mFormFile = null | |
| $_allowExtensions = ['tar'] | |
Data Fields inherited from XCube_ActionForm | |
| $mContext | |
| [READ ONLY] XCube_HttpContext | |
| $mUser | |
| [READ ONLY] XCube_Principal | |
| $mFormProperties = [] | |
| XCube_FormProperty[]. | |
| $mFieldProperties = [] | |
| XCube_FieldProperty[]. | |
| $mErrorFlag = false | |
| bool | |
| $mErrorMessages = [] | |
| string[] | |
| $_mToken | |
| string | |
Definition at line 10 of file TplsetUploadForm.class.php.
| getTokenName | ( | ) |
Gets the token name of this actionform's token.
Return token name. If the sub-class doesn't override this member function, features about one-time tokens aren't used.
Reimplemented from XCube_ActionForm.
Definition at line 19 of file TplsetUploadForm.class.php.
| prepare | ( | ) |
[Abstract] Set up form properties and field properties.
Reimplemented from XCube_ActionForm.
Definition at line 24 of file TplsetUploadForm.class.php.
| validateUpload | ( | ) |
Definition at line 45 of file TplsetUploadForm.class.php.
| $_allowExtensions = ['tar'] |
Definition at line 16 of file TplsetUploadForm.class.php.
| $_mIsNew = null |
Definition at line 13 of file TplsetUploadForm.class.php.
| $mFormFile = null |
Definition at line 14 of file TplsetUploadForm.class.php.
| $mOldFileName = null |
Definition at line 12 of file TplsetUploadForm.class.php.