8 if(!defined('XOOPS_ROOT_PATH'))
13 require_once SD2ND_TRUST_PATH . '/class/AbstractListAction.class.php';
16 * Sd2nd_ActiveAbilityListAction
18 class Sd2nd_ActiveAbilityListAction extends Sd2nd_AbstractListAction
25 * @return Sd2nd_ActiveAbilityHandler
27 protected function &_getHandler()
29 $handler =& $this->mAsset->getObject('handler', 'char');
38 * @return Sd2nd_ActiveAbilityFilterForm
40 protected function &_getFilterForm()
42 // $filter =& new Sd2nd_ActiveAbilityFilterForm();
43 $filter =& $this->mAsset->getObject('filter', 'activeAbility',false);
44 $filter->prepare($this->_getPageNavi(), $this->_getHandler());
55 protected function _getBaseUrl()
57 return './index.php?action=ActiveAbilityList';
67 public function getDefaultView()
69 $this->mFilter =& $this->_getFilterForm();
70 $this->mFilter->fetch();
72 $handler =& $this->_getHandler();
73 $this->mObjects =& $handler->getActiveAbility($this->mFilter->getCriteria());
75 return SD2ND_FRAME_VIEW_INDEX;
81 * @param XCube_RenderTarget &$render
85 public function executeViewIndex(/*** XCube_RenderTarget ***/ &$render)
87 $render->setTemplateName($this->mAsset->mDirname . '_active_ability_list.html');
88 #cubson::lazy_load_array('active_ability', $this->mObjects);
89 $render->setAttribute('objects', $this->mObjects);
90 $render->setAttribute('pageNavi', $this->mFilter->mNavi);