Removed $_GET from all callback response and used JInput instead

This commit is contained in:
Llewellyn van der Merwe 2016-06-24 15:32:36 +01:00
parent a2e4972feb
commit b18917e93d
86 changed files with 129 additions and 103 deletions

View File

@ -10,7 +10,7 @@ Just a basic demo of the most basic implementations of the [Joomla] (http://www.
+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io)
+ *Name*: [Demo] (https://www.vdm.io/)
+ *First Build*: 5th August, 2015
+ *Last Build*: 2nd June, 2016
+ *Last Build*: 24th June, 2016
+ *Version*: 1.0.5
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -23,7 +23,7 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)
+ *Line count*: **16832**
+ *Line count*: **16858**
+ *File count*: **152**
+ *Folder count*: **50**

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage admin.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage dashboard.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_document.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_documents.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage look.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage looks.css

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage controller.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_documents.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage import.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage looks.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php
@ -352,9 +352,15 @@ abstract class DemoHelper
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
$query->select($db->quoteName(array($what)));
$query->from($db->quoteName('#__'.$main.'_'.$table));
if (empty($table))
{
$query->from($db->quoteName('#__'.$main));
}
else
{
$query->from($db->quoteName('#__'.$main.'_'.$table));
}
if (is_numeric($where))
{
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage batch_.php

View File

@ -92,10 +92,10 @@ COM_DEMO_HELP_DOCUMENT_ARTICLE="Article"
COM_DEMO_HELP_DOCUMENT_ARTICLE_LABEL="Article"
COM_DEMO_HELP_DOCUMENT_CONTENT="Content"
COM_DEMO_HELP_DOCUMENT_CONTENT_LABEL="Content"
COM_DEMO_HELP_DOCUMENT_CREATED_BY_DESC="The user that created the Help Document."
COM_DEMO_HELP_DOCUMENT_CREATED_BY_LABEL="Created by"
COM_DEMO_HELP_DOCUMENT_CREATED_DATE_DESC="The date Help Document was created."
COM_DEMO_HELP_DOCUMENT_CREATED_DATE_LABEL="Created date"
COM_DEMO_HELP_DOCUMENT_CREATED_BY_DESC="The user that created this Help Document."
COM_DEMO_HELP_DOCUMENT_CREATED_BY_LABEL="Created By"
COM_DEMO_HELP_DOCUMENT_CREATED_DATE_DESC="The date this Help Document was created."
COM_DEMO_HELP_DOCUMENT_CREATED_DATE_LABEL="Created Date"
COM_DEMO_HELP_DOCUMENT_DETAILS="Details"
COM_DEMO_HELP_DOCUMENT_EDIT="Editing the Help Document"
COM_DEMO_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias."
@ -107,6 +107,10 @@ COM_DEMO_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article"
COM_DEMO_HELP_DOCUMENT_LOCATION="Location"
COM_DEMO_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location."
COM_DEMO_HELP_DOCUMENT_LOCATION_LABEL="Location"
COM_DEMO_HELP_DOCUMENT_MODIFIED_BY_DESC="The last user that modified this Help Document."
COM_DEMO_HELP_DOCUMENT_MODIFIED_BY_LABEL="Modified By"
COM_DEMO_HELP_DOCUMENT_MODIFIED_DATE_DESC="The date this Help Document was modified."
COM_DEMO_HELP_DOCUMENT_MODIFIED_DATE_LABEL="Modified Date"
COM_DEMO_HELP_DOCUMENT_NEW="A New Help Document"
COM_DEMO_HELP_DOCUMENT_NOT_REQUIRED="Not Required"
COM_DEMO_HELP_DOCUMENT_ORDERING_LABEL="Ordering"
@ -246,10 +250,10 @@ COM_DEMO_LOOK_AGE_LABEL="Age Group"
COM_DEMO_LOOK_ALIAS="Alias"
COM_DEMO_LOOK_ALIAS_HINT="Auto-generated from name"
COM_DEMO_LOOK_ALIAS_LABEL="Alias"
COM_DEMO_LOOK_CREATED_BY_DESC="The user that created the Look."
COM_DEMO_LOOK_CREATED_BY_LABEL="Created by"
COM_DEMO_LOOK_CREATED_DATE_DESC="The date Look was created."
COM_DEMO_LOOK_CREATED_DATE_LABEL="Created date"
COM_DEMO_LOOK_CREATED_BY_DESC="The user that created this Look."
COM_DEMO_LOOK_CREATED_BY_LABEL="Created By"
COM_DEMO_LOOK_CREATED_DATE_DESC="The date this Look was created."
COM_DEMO_LOOK_CREATED_DATE_LABEL="Created Date"
COM_DEMO_LOOK_DESCRIPTION="Description"
COM_DEMO_LOOK_DESCRIPTION_DESCRIPTION="Add Description Here"
COM_DEMO_LOOK_DESCRIPTION_HINT="Add Description Here"
@ -269,6 +273,10 @@ COM_DEMO_LOOK_ID="Id"
COM_DEMO_LOOK_MALE="Male"
COM_DEMO_LOOK_MALE_DESCRIPTION="Here you can add males data."
COM_DEMO_LOOK_MALE_SELECT="Edit/Add"
COM_DEMO_LOOK_MODIFIED_BY_DESC="The last user that modified this Look."
COM_DEMO_LOOK_MODIFIED_BY_LABEL="Modified By"
COM_DEMO_LOOK_MODIFIED_DATE_DESC="The date this Look was modified."
COM_DEMO_LOOK_MODIFIED_DATE_LABEL="Modified Date"
COM_DEMO_LOOK_NAME="Name"
COM_DEMO_LOOK_NAME_DESCRIPTION="Enter Name Here"
COM_DEMO_LOOK_NAME_HINT="Name Here"

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage batchselection.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_under.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage metadata.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage details_under.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage metadata.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage repetable_numbers_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage repetable_numbers_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage articles.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_document.js

View File

@ -47,11 +47,12 @@
</field>
<!-- Date Modified Field. Type: Calendar (joomla) -->
<field name="modified" type="calendar" class="readonly"
label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"
label="COM_DEMO_HELP_DOCUMENT_MODIFIED_DATE_LABEL" description="COM_DEMO_HELP_DOCUMENT_MODIFIED_DATE_DESC"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<!-- User Modified Field. Type: User (joomla) -->
<field name="modified_by" type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
label="COM_DEMO_HELP_DOCUMENT_MODIFIED_BY_LABEL"
description="COM_DEMO_HELP_DOCUMENT_MODIFIED_BY_DESC"
class="readonly"
readonly="true"
filter="unset"

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage look.js

View File

@ -47,11 +47,12 @@
</field>
<!-- Date Modified Field. Type: Calendar (joomla) -->
<field name="modified" type="calendar" class="readonly"
label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"
label="COM_DEMO_LOOK_MODIFIED_DATE_LABEL" description="COM_DEMO_LOOK_MODIFIED_DATE_DESC"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<!-- User Modified Field. Type: User (joomla) -->
<field name="modified_by" type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
label="COM_DEMO_LOOK_MODIFIED_BY_LABEL"
description="COM_DEMO_LOOK_MODIFIED_BY_DESC"
class="readonly"
readonly="true"
filter="unset"

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_documents.php
@ -307,6 +307,8 @@ class DemoModelHelp_documents extends JModelList
// setup the query
if (DemoHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage import.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage looks.php
@ -260,6 +260,8 @@ class DemoModelLooks extends JModelList
// setup the query
if (DemoHelper::checkArray($pks))
{
// Set a value to know this is exporting method.
$_export = true;
// Get the user object.
$user = JFactory::getUser();
// Create a new query object.

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help_document.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage look.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_main.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_vdm.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage submitbutton.js

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage edit.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_batch_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_batch_footer.php
@ -23,7 +23,7 @@ defined('_JEXEC') or die('Restricted access');
?>
<!-- clear the batch values if cancel -->
<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal">
<button class="btn" type="button" onclick="" data-dismiss="modal">
<?php echo JText::_('JCANCEL'); ?>
</button>
<!-- post the batch values if process -->

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_foot.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_head.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_toolbar.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage submitbutton.js

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage edit.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_batch_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_batch_footer.php
@ -23,7 +23,7 @@ defined('_JEXEC') or die('Restricted access');
?>
<!-- clear the batch values if cancel -->
<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal">
<button class="btn" type="button" onclick="" data-dismiss="modal">
<?php echo JText::_('JCANCEL'); ?>
</button>
<!-- post the batch values if process -->

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_body.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_foot.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_head.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage default_toolbar.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage view.html.php

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_DEMO</name>
<creationDate>2nd June, 2016</creationDate>
<creationDate>24th June, 2016</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>info@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl>

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage script.php

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage site.css

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage controller.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage help.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage demo.php
@ -340,9 +340,15 @@ abstract class DemoHelper
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
$query->select($db->quoteName(array($what)));
$query->from($db->quoteName('#__'.$main.'_'.$table));
$query->select($db->quoteName(array($what)));
if (empty($table))
{
$query->from($db->quoteName('#__'.$main));
}
else
{
$query->from($db->quoteName('#__'.$main.'_'.$table));
}
if (is_numeric($where))
{
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage headercheck.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage route.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 1.0.5
@build 2nd June, 2016
@build 24th June, 2016
@created 5th August, 2015
@package Demo
@subpackage router.php