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

Public Member Functions

 Legacy_ModulePreferenceEditForm (&$module)
 
 __construct (&$module)
 
 getTokenName ()
 Gets the token name of this actionform's token.
 
 getCategoryId ()
 
 getModuleId ()
 
- Public Member Functions inherited from Legacy_PreferenceEditForm
 Legacy_PreferenceEditForm ($category)
 
 __construct ($category)
 
 prepare ()
 [Abstract] Set up form properties and field properties.
 
 getImploadValue ($key)
 
 update (&$configArr)
 [Abstract] Updates an object with properties values.
 
- 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.
 

Data Fields

 $mKeyName = 'confmod_id'
 
 $mKeyValue = 0
 
- Data Fields inherited from Legacy_PreferenceEditForm
 $mKeyName = 'confcat_id'
 
 $mKeyValue = 0
 
- 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

Definition at line 150 of file PreferenceEditForm.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( & $module)

Definition at line 160 of file PreferenceEditForm.class.php.

Member Function Documentation

◆ getCategoryId()

getCategoryId ( )

Reimplemented from Legacy_PreferenceEditForm.

Definition at line 171 of file PreferenceEditForm.class.php.

◆ getModuleId()

getModuleId ( )

Reimplemented from Legacy_PreferenceEditForm.

Definition at line 176 of file PreferenceEditForm.class.php.

◆ getTokenName()

getTokenName ( )

Gets the token name of this actionform's token.

Returns
string

Return token name. If the sub-class doesn't override this member function, features about one-time tokens aren't used.

Reimplemented from Legacy_PreferenceEditForm.

Definition at line 166 of file PreferenceEditForm.class.php.

◆ Legacy_ModulePreferenceEditForm()

Definition at line 155 of file PreferenceEditForm.class.php.

Field Documentation

◆ $mKeyName

$mKeyName = 'confmod_id'

Definition at line 152 of file PreferenceEditForm.class.php.

◆ $mKeyValue

$mKeyValue = 0

Definition at line 153 of file PreferenceEditForm.class.php.


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