1: <?php
2: 3: 4: 5: 6:
7:
8: if (!defined('XOOPS_ROOT_PATH')) exit();
9:
10: require_once XOOPS_MODULE_PATH . "/profile/class/AbstractListAction.class.php";
11:
12: class Profile_Admin_DefinitionsListAction extends Profile_AbstractListAction
13: {
14: 15: 16:
17: function &_getHandler()
18: {
19: $handler =& $this->mAsset->load('handler', "definitions");
20: return $handler;
21: }
22:
23: 24: 25:
26: function &_getFilterForm()
27: {
28:
29: $filter =& $this->mAsset->create('filter', "admin.definitions");
30: $filter->prepare($this->_getPageNavi(), $this->_getHandler());
31: return $filter;
32: }
33:
34: 35: 36:
37: function _getBaseUrl()
38: {
39: return "./index.php?action=DefinitionsList";
40: }
41:
42: 43: 44:
45: function executeViewIndex(&$render)
46: {
47: $render->setTemplateName("definitions_list.html");
48:
49: $render->setAttribute('objects', $this->mObjects);
50: $render->setAttribute('pageNavi', $this->mFilter->mNavi);
51: }
52: }
53:
54: ?>
55: