XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
InstallListAction.class.php
1<?php
11
12if (!defined('XOOPS_ROOT_PATH')) {
13 exit();
14}
15
16/***
17 * @public
18 * @internal
19 * List up non-installation modules.
20 */
21class Legacy_InstallListAction extends Legacy_Action
22{
23 public $mModuleObjects = null;
24
25 public function getDefaultView(&$controller, &$xoopsUser)
26 {
27 $handler =& xoops_getmodulehandler('non_installation_module');
28
29 $this->mModuleObjects =& $handler->getObjects();
30
31 return LEGACY_FRAME_VIEW_INDEX;
32 }
33
34 public function executeViewIndex(&$controller, &$xoopsUser, &$renderer)
35 {
36 $renderer->setTemplateName('install_list.html');
37 $renderer->setAttribute('moduleObjects', $this->mModuleObjects);
38 }
39}