XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
DataListAction.class.php
1
<?php
9
10
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
11
exit();
12
}
13
14
require_once XOOPS_MODULE_PATH .
'/profile/class/AbstractListAction.class.php'
;
15
16
class
Profile_DataListAction
extends
Profile_AbstractListAction
17
{
21
public
function
&_getHandler()
22
{
23
$handler =& $this->mAsset->load(
'handler'
,
'data'
);
24
return
$handler;
25
}
26
30
public
function
&_getFilterForm()
31
{
32
// $filter =new Profile_DataFilterForm();
33
$filter =& $this->mAsset->create(
'filter'
,
'data'
);
34
$filter->prepare($this->_getPageNavi(), $this->_getHandler());
35
return
$filter;
36
}
37
41
public
function
_getBaseUrl()
42
{
43
return
'./index.php?action=DataList'
;
44
}
45
50
public
function
executeViewIndex
(&$render)
51
{
52
$render->setTemplateName(
'profile_data_list.html'
);
53
$render->setAttribute(
'objects'
, $this->mObjects);
54
$render->setAttribute(
'pageNavi'
, $this->mFilter->mNavi);
55
$handler =
Legacy_Utils::getModuleHandler
(
'definitions'
,
'profile'
);
56
$render->setAttribute(
'definitions'
, $handler->getFields4DataShow(
Legacy_Utils::getUid
()));
57
}
58
}
Legacy_Utils\getUid
static getUid()
Definition
Legacy_Utils.class.php:184
Legacy_Utils\getModuleHandler
static getModuleHandler( $name, $dirname)
Definition
Legacy_Utils.class.php:281
Profile_AbstractListAction
Definition
AbstractListAction.class.php:18
Profile_DataListAction
Definition
DataListAction.class.php:17
Profile_DataListAction\executeViewIndex
executeViewIndex(&$render)
Definition
DataListAction.class.php:50
html
modules
profile
actions
DataListAction.class.php
Generated by
1.13.2