sysreq_main.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class sysreq_main extends oxAdminDetails
00008 {
00015     public function render()
00016     {
00017         parent::render();
00018 
00019         $oSysReq = new oxSysRequirements();
00020 
00021         $this->_aViewData['aInfo'] = $oSysReq->getSystemInfo();
00022         $this->_aViewData['aCollations'] = $oSysReq->checkCollation();
00023 
00024         return "sysreq_main.tpl";
00025     }
00026     
00027     public function getModuleClass( $iModuleState )
00028     {
00029         switch ( $iModuleState ) {
00030             case 2:
00031                 $sClass = 'pass';
00032                 break;
00033             case 1:
00034                 $sClass = 'pmin';
00035                 break;
00036             case -1:
00037                 $sClass = 'null';
00038                 break;
00039             default:
00040                 $sClass = 'fail';
00041                 break;
00042         }
00043         return $sClass;
00044     }
00045 }

Generated on Wed May 13 13:25:50 2009 for OXID eShop CE by  doxygen 1.5.5