XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
DefinitionsViewAction.class.php
1
<?php
10
11
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
12
exit();
13
}
14
15
require_once XOOPS_MODULE_PATH .
'/profile/class/AbstractViewAction.class.php'
;
16
17
class
Profile_Admin_DefinitionsViewAction
extends
Profile_AbstractViewAction
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
41
public
function
executeViewSuccess
(&$controller, &$render)
42
{
43
$render->setTemplateName(
'definitions_view.html'
);
44
#cubson::lazy_load('definitions', $this->mObject);
45
$render->setAttribute(
'object'
, $this->mObject);
46
}
47
52
public
function
executeViewError
(&$render)
53
{
54
$this->mRoot->mController->executeRedirect(
'./index.php?action=DefinitionsList'
, 1, _MD_PROFILE_ERROR_CONTENT_IS_NOT_FOUND);
55
}
56
}
Profile_AbstractViewAction
Definition
AbstractViewAction.class.php:16
Profile_Admin_DefinitionsViewAction
Definition
DefinitionsViewAction.class.php:18
Profile_Admin_DefinitionsViewAction\executeViewSuccess
executeViewSuccess(&$controller, &$render)
Definition
DefinitionsViewAction.class.php:41
Profile_Admin_DefinitionsViewAction\executeViewError
executeViewError(&$render)
Definition
DefinitionsViewAction.class.php:52
html
modules
profile
admin
actions
DefinitionsViewAction.class.php
Generated by
1.13.2