Mage_Reports_Model_Config Class Reference

Inheritance diagram for Mage_Reports_Model_Config:

Varien_Object

List of all members.

Public Member Functions

 getGlobalConfig ()
 getLanguage ()
 getDashboard ()


Detailed Description

Definition at line 36 of file Config.php.


Member Function Documentation

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:36 2009 for Magento by  doxygen 1.5.8