Public Member Functions | |
getGlobalConfig () | |
getLanguage () | |
getDashboard () |
Definition at line 36 of file Config.php.
getDashboard | ( | ) |
Definition at line 56 of file Config.php.
00057 { 00058 return file_get_contents( Mage::getModuleDir('etc','Mage_Reports').DS.'flexDashboard.xml' ); 00059 }
getGlobalConfig | ( | ) |
Definition at line 38 of file Config.php.
00039 { 00040 $dom = new DOMDocument(); 00041 $dom -> load( Mage::getModuleDir('etc','Mage_Reports').DS.'flexConfig.xml' ); 00042 00043 $baseUrl = $dom -> createElement('baseUrl'); 00044 $baseUrl -> nodeValue = Mage::getBaseUrl(); 00045 00046 $dom -> documentElement -> appendChild( $baseUrl ); 00047 00048 return $dom -> saveXML(); 00049 }
getLanguage | ( | ) |
Definition at line 51 of file Config.php.
00052 { 00053 return file_get_contents( Mage::getModuleDir('etc','Mage_Reports').DS.'flexLanguage.xml' ); 00054 }