Mainframe in Joomla Content Management System
Mainframe in Joomla
Joomla is a content management system preferred by most web developers. Its advanced features help in designing fully functional websites. Mainframe in Joomla is another reason why Joomla is counted among the best CMS over the Internet. $mainframe is a global variable in Joomla that has lots of useful methods attached to it.
Some Facts About Mainframe in Joomla
- The $mainframe object is an instance of JApplication class. The JApplication class is defined within libraries/joomla/application/application.php.
- Depending on whether you’re in the administrator or frontend section of Joomla, the $mainframe object is a direct instance of JAdministrator or JSite respectively.
- These classes are in includes/application.php and administrator/includes/application.php.