PHP Classes

File: Patterns/site_component.tmpl

Recommend this page to a friend!
  Classes of Max Stemplevski   Joomla Component Creator   Patterns/site_component.tmpl   Download  
File: Patterns/site_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: Update of Patterns/site_component.tmpl
Date: 5 months ago
Size: 247 bytes
 

Contents

Class file image Download
<?php
defined
('_JEXEC') or die;
//require_once JPATH_COMPONENT . "/helpers/route.php";
$controller = JControllerLegacy::getInstance("{COMPONENT_NAME}");
$controller->execute(JFactory::getApplication()->input->get("task"));
$controller->redirect();