XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
DefinitionsDeleteAction.class.php
1
<?php
10
11
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
12
exit();
13
}
14
15
require_once XOOPS_MODULE_PATH .
'/profile/class/AbstractDeleteAction.class.php'
;
16
17
class
Profile_Admin_DefinitionsDeleteAction
extends
Profile_AbstractDeleteAction
18
{
22
public
function
_getId()
23
{
24
return
(
int
)xoops_getrequest(
'field_id'
);
25
}
26
30
public
function
&_getHandler()
31
{
32
$handler =& $this->mAsset->load(
'handler'
,
'definitions'
);
33
return
$handler;
34
}
35
39
public
function
_setupActionForm()
40
{
41
// $this->mActionForm =new Profile_Admin_DefinitionsDeleteForm();
42
$this->mActionForm =& $this->mAsset->create(
'form'
,
'admin.delete_definitions'
);
43
$this->mActionForm->prepare();
44
}
45
50
public
function
executeViewInput
(&$render)
51
{
52
$render->setTemplateName(
'definitions_delete.html'
);
53
$render->setAttribute(
'actionForm'
, $this->mActionForm);
54
#cubson::lazy_load('definitions', $this->mObject);
55
$render->setAttribute(
'object'
, $this->mObject);
56
}
57
63
public
function
executeViewSuccess
(&$controller, &$render)
64
{
65
$this->mRoot->mController->executeForward(
'./index.php?action=DefinitionsList'
);
66
}
67
72
public
function
executeViewError
(&$render)
73
{
74
$this->mRoot->mController->executeRedirect(
'./index.php?action=DefinitionsList'
, 1, _MD_PROFILE_ERROR_DBUPDATE_FAILED);
75
}
76
81
public
function
executeViewCancel
(&$render)
82
{
83
$this->mRoot->mController->executeForward(
'./index.php?action=DefinitionsList'
);
84
}
85
}
Profile_AbstractDeleteAction
Definition
AbstractDeleteAction.class.php:18
Profile_Admin_DefinitionsDeleteAction
Definition
DefinitionsDeleteAction.class.php:18
Profile_Admin_DefinitionsDeleteAction\executeViewCancel
executeViewCancel(&$render)
Definition
DefinitionsDeleteAction.class.php:81
Profile_Admin_DefinitionsDeleteAction\executeViewSuccess
executeViewSuccess(&$controller, &$render)
Definition
DefinitionsDeleteAction.class.php:63
Profile_Admin_DefinitionsDeleteAction\executeViewError
executeViewError(&$render)
Definition
DefinitionsDeleteAction.class.php:72
Profile_Admin_DefinitionsDeleteAction\executeViewInput
executeViewInput(&$render)
Definition
DefinitionsDeleteAction.class.php:50
html
modules
profile
admin
actions
DefinitionsDeleteAction.class.php
Generated by
1.13.2