From c57512ab02a1e7fa60e57d551d868ed188216a99 Mon Sep 17 00:00:00 2001 From: Joseph Geller Date: Wed, 19 Sep 2018 22:42:59 -0500 Subject: [PATCH] Updated 4a. JCB Demo Component Directory, Folders and Files (markdown) --- 4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md b/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md index 5b189be..394ecca 100644 --- a/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md +++ b/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md @@ -283,9 +283,12 @@ Beneath the directory structure and files presented next you will find a short e \helpers\route.php - [Import joomla controller library](https://docs.joomla.org/J2.5:Developing_a_MVC_Component/Basic_backend#Basic_backend) \libraries\Joomla\Controllers\controller.php -- Include controller and instantiate controller object. -- Display default task like view all. +- Get an instance of the controller prefixed by demo +[Method to get a single controller instance.](https://api.joomla.org/cms-2.5/classes/JControllerLegacy.html#method_getInstance) +- Perform the request task. Initially, this is the default. +[Perform the request task.](https://api.joomla.org/cms-3/classes/Joomla.CMS.Factory.html#method_getApplication) - import joomla controller library + ## \administrator\components\com_demo\controllers\demo.php Placeholder text. ## \administrator\components\com_demo\controllers\import.php