XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
TplsetDeleteForm.class.php
1
<?php
6
7
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
8
exit();
9
}
10
11
require_once XOOPS_ROOT_PATH .
'/core/XCube_ActionForm.class.php'
;
12
13
/***
14
* @internal
15
* This class is generated by makeActionForm tool.
16
*/
17
class
LegacyRender_TplsetDeleteForm
extends
XCube_ActionForm
18
{
19
public
function
getTokenName
()
20
{
21
return
'module.legacyRender.TplsetDeleteForm.TOKEN'
. $this->
get
(
'tplset_id'
);
22
}
23
24
public
function
prepare
()
25
{
26
//
27
// Set form properties
28
//
29
$this->mFormProperties[
'tplset_id'
] =
new
XCube_IntProperty
(
'tplset_id'
);
30
31
//
32
// Set field properties
33
//
34
$this->mFieldProperties[
'tplset_id'
] =
new
XCube_FieldProperty
($this);
35
$this->mFieldProperties[
'tplset_id'
]->setDependsByArray([
'required'
]);
36
$this->mFieldProperties[
'tplset_id'
]->addMessage(
'required'
, _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPLSET_ID);
37
}
38
39
public
function
load
(&$obj)
40
{
41
$this->
set
(
'tplset_id'
, $obj->get(
'tplset_id'
));
42
}
43
44
public
function
update
(&$obj)
45
{
46
$obj->set(
'tplset_id'
, $this->
get
(
'tplset_id'
));
47
}
48
}
LegacyRender_TplsetDeleteForm
Definition
TplsetDeleteForm.class.php:18
LegacyRender_TplsetDeleteForm\update
update(&$obj)
[Abstract] Updates an object with properties values.
Definition
TplsetDeleteForm.class.php:44
LegacyRender_TplsetDeleteForm\getTokenName
getTokenName()
Gets the token name of this actionform's token.
Definition
TplsetDeleteForm.class.php:19
LegacyRender_TplsetDeleteForm\prepare
prepare()
[Abstract] Set up form properties and field properties.
Definition
TplsetDeleteForm.class.php:24
LegacyRender_TplsetDeleteForm\load
load(&$obj)
[Abstract] Initializes properties' values from an object.
Definition
TplsetDeleteForm.class.php:39
XCube_ActionForm
Definition
XCube_ActionForm.class.php:51
XCube_FieldProperty
[Abstract] Used for validating member property values of XCube_ActionForm.
Definition
XCube_ActionForm.class.php:438
XCube_IntProperty
Represents int property.
Definition
XCube_Property.class.php:461
html
modules
legacyRender
admin
forms
TplsetDeleteForm.class.php
Generated by
1.13.2