OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
module_list.php
Go to the documentation of this file.
1 <?php
2 
9 class Module_List extends oxAdminList
10 {
11 
16  protected $_aModules = array();
17 
18 
24  public function render()
25  {
26  $sModulesDir = $this->getConfig()->getModulesDir();
27 
28  $oModuleList = oxNew("oxModuleList");
29  $aModules = $oModuleList->getModulesFromDir($sModulesDir);
30 
32 
33  // assign our list
34  $this->_aViewData['mylist'] = $aModules;
35 
36  return 'module_list.tpl';
37  }
38 }