XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_ImageListForm Class Reference
Inheritance diagram for Legacy_ImageListForm:
XCube_ActionForm

Public Member Functions

 getTokenName ()
 
 getTokenErrorMessage ()
 
 prepare ()
 [Abstract] Set up form properties and field properties.
 
- Public Member Functions inherited from XCube_ActionForm
 __construct ()
 Constructor.
 
 getToken ()
 Gets the token value of this actionform's token.
 
 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.
 

Additional Inherited Members

- 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
 

Detailed Description

@auchor

Definition at line 22 of file ImageListForm.class.php.

Member Function Documentation

◆ getTokenErrorMessage()

getTokenErrorMessage ( )

For displaying the confirm-page, don't show CSRF error. Always return null.

Reimplemented from XCube_ActionForm.

Definition at line 43 of file ImageListForm.class.php.

◆ getTokenName()

getTokenName ( )

If the request is GET, never return token name. By this logic, a action can have three page in one action.

Reimplemented from XCube_ActionForm.

Definition at line 28 of file ImageListForm.class.php.

◆ prepare()

prepare ( )

[Abstract] Set up form properties and field properties.

Reimplemented from XCube_ActionForm.

Definition at line 48 of file ImageListForm.class.php.


The documentation for this class was generated from the following file: