Discover on which client your extension code is running/es
From Joomla! Documentation
Revision as of 23:05, 23 March 2017 by Shaz (talk | contribs) (Created page with "Category:Joomla! 3.7/es Category:Development/es Category:Extension development/es Category:Component Development/es Category:JFactory/es")
Revision as of 23:05, 23 March 2017 by Shaz (talk | contribs) (Created page with "Category:Joomla! 3.7/es Category:Development/es Category:Extension development/es Category:Component Development/es Category:JFactory/es")
Joomla!
≥ 3.7
version
Este artículo da una idea general del nuevo método de Joomla! 3.7 JFactory::getApplication()->isClient()
Este método reemplaza a JFactory::getApplication()->isSite() y JFactory::getApplication()->isAdmin().
Frontend
JFactory::getApplication()->isClient('site')
Returns true if executed in the Joomla! website frontend.
Administrador / Backend
JFactory::getApplication()->isClient('administrator')
Returns true if executed in the Joomla! website backend / administrator area.
Administrador / Backend
JFactory::getApplication()->isClient('installation')
Returns true if executed in the Joomla! installation.