PHP Classes

File: Patterns/admin_component.tmpl

Recommend this page to a friend!
  Classes of Max Stemplevski   Joomla Component Creator   Patterns/admin_component.tmpl   Download  
File: Patterns/admin_component.tmpl
Role: Example script
Content type: text/plain
Description: Example script
Class: Joomla Component Creator
Generate the files for a Joomla component
Author: By
Last change:
Date: 5 years ago
Size: 409 bytes


Class file image Download
('_JEXEC') or die;
if (!
JFactory::getUser()->authorise("core.manage", "{SYSTEM_COMPONENT_NAME}")) {
    throw new
JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);

$controller = JControllerLegacy::getInstance("{COMPONENT_NAME}");