XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
GroupListAction.class.php
1<?php
2
3if (!defined('XOOPS_ROOT_PATH')) {
4 exit();
5}
6
7require_once XOOPS_MODULE_PATH . '/user/class/AbstractListAction.class.php';
8require_once XOOPS_MODULE_PATH . '/user/admin/forms/GroupFilterForm.class.php';
9
11{
12 public function &_getHandler()
13 {
14 $handler =& xoops_getmodulehandler('groups');
15 return $handler;
16 }
17
18 public function &_getFilterForm()
19 {
20 $filter =new User_GroupFilterForm($this->_getPageNavi(), $this->_getHandler());
21 return $filter;
22 }
23
24 public function _getBaseUrl()
25 {
26 return './index.php?action=GroupList';
27 }
28
29 public function executeViewIndex(&$controller, &$xoopsUser, &$render)
30 {
31 $render->setTemplateName('group_list.html');
32 $render->setAttribute('objects', $this->mObjects);
33 $render->setAttribute('pageNavi', $this->mFilter->mNavi);
34 }
35}