XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
DataListAction.class.php
1<?php
9
10if (!defined('XOOPS_ROOT_PATH')) {
11 exit();
12}
13
14require_once XOOPS_MODULE_PATH . '/profile/class/AbstractListAction.class.php';
15
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}
static getModuleHandler( $name, $dirname)