Added Events to Compiler, the beginning of an API. #435

Merged
Llewellyn merged 26 commits from staging into master 2019-07-06 22:38:13 +00:00
43 changed files with 622 additions and 548 deletions
Showing only changes of commit 6da9cb3d42 - Show all commits

View File

@ -150,7 +150,7 @@ TODO
+ *Version*: 2.9.18
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **206669**
+ *Line count*: **206638**
+ *Field count*: **1136**
+ *File count*: **1344**
+ *Folder count*: **209**

View File

@ -150,7 +150,7 @@ TODO
+ *Version*: 2.9.18
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **206669**
+ *Line count*: **206638**
+ *Field count*: **1136**
+ *File count*: **1344**
+ *Folder count*: **209**

File diff suppressed because it is too large Load Diff

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="admin_custom_tabs.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="admin_fields.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="admin_fields_conditions.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="admin_fields_relations.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -199,7 +199,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="admin_view.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_admin_views.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_config.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_custom_admin_menus.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_custom_admin_views.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_dashboard.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -111,7 +111,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_files_folders.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_mysql_tweaks.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_placeholders.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_site_views.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="component_updates.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
// Set Main Get Name Selection
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
// We do some sanitation for filter
// We do some sanitation for Main Get Name filter
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
isset($this->main_getNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
{
unset($this->main_getNameOptions[0]);
}
// Only load filter if it has values
// Only load Main Get Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
{
// Main Get Name Filter

View File

@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="custom_code.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
// Set Component System Name Selection
$this->componentSystem_nameOptions = JFormHelper::loadFieldType('Component')->options;
// We do some sanitation for filter
// We do some sanitation for Component System Name filter
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions) &&
isset($this->componentSystem_nameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->componentSystem_nameOptions[0]->value))
{
unset($this->componentSystem_nameOptions[0]);
}
// Only load filter if it has values
// Only load Component System Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions))
{
// Component System Name Filter

View File

@ -150,7 +150,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="dynamic_get.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -138,7 +138,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="field.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -210,14 +210,14 @@ class ComponentbuilderViewFields extends JViewLegacy
// Set Fieldtype Name Selection
$this->fieldtypeNameOptions = JFormHelper::loadFieldType('Fieldtypes')->options;
// We do some sanitation for filter
// We do some sanitation for Fieldtype Name filter
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions) &&
isset($this->fieldtypeNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->fieldtypeNameOptions[0]->value))
{
unset($this->fieldtypeNameOptions[0]);
}
// Only load filter if it has values
// Only load Fieldtype Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions))
{
// Fieldtype Name Filter

View File

@ -130,7 +130,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="fieldtype.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="help_document.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -248,14 +248,14 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
// Set Admin View Selection
$this->admin_viewOptions = JFormHelper::loadFieldType('Adminviewfolderlist')->options;
// We do some sanitation for Location filter
// We do some sanitation for Admin View filter
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions) &&
isset($this->admin_viewOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->admin_viewOptions[0]->value))
{
unset($this->admin_viewOptions[0]);
}
// Only load Location filter if it has values
// Only load Admin View filter if it has values
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions))
{
// Admin View Filter
@ -278,14 +278,14 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
// Set Site View Selection
$this->site_viewOptions = JFormHelper::loadFieldType('Siteviewfolderlist')->options;
// We do some sanitation for Location filter
// We do some sanitation for Site View filter
if (ComponentbuilderHelper::checkArray($this->site_viewOptions) &&
isset($this->site_viewOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->site_viewOptions[0]->value))
{
unset($this->site_viewOptions[0]);
}
// Only load Location filter if it has values
// Only load Site View filter if it has values
if (ComponentbuilderHelper::checkArray($this->site_viewOptions))
{
// Site View Filter

View File

@ -216,7 +216,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="joomla_component.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="language.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -100,7 +100,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="language_translation.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewLayouts extends JViewLegacy
// Set Dynamic Get Name Selection
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
// We do some sanitation for filter
// We do some sanitation for Dynamic Get Name filter
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
isset($this->dynamic_getNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
{
unset($this->dynamic_getNameOptions[0]);
}
// Only load filter if it has values
// Only load Dynamic Get Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
{
// Dynamic Get Name Filter

View File

@ -183,14 +183,14 @@ class ComponentbuilderViewLibraries extends JViewLegacy
// Set How Selection
$this->howOptions = JFormHelper::loadFieldType('Filebehaviour')->options;
// We do some sanitation for filter
// We do some sanitation for How filter
if (ComponentbuilderHelper::checkArray($this->howOptions) &&
isset($this->howOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->howOptions[0]->value))
{
unset($this->howOptions[0]);
}
// Only load filter if it has values
// Only load How filter if it has values
if (ComponentbuilderHelper::checkArray($this->howOptions))
{
// How Filter

View File

@ -137,7 +137,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="library.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
<div class="clearfix"></div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="library_config.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -111,7 +111,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="library_files_folders_urls.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -106,7 +106,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="placeholder.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -119,7 +119,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="server.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewSite_views extends JViewLegacy
// Set Main Get Name Selection
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
// We do some sanitation for filter
// We do some sanitation for Main Get Name filter
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
isset($this->main_getNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
{
unset($this->main_getNameOptions[0]);
}
// Only load filter if it has values
// Only load Main Get Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
{
// Main Get Name Filter

View File

@ -96,7 +96,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="snippet.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="snippet_type.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>

View File

@ -198,14 +198,14 @@ class ComponentbuilderViewSnippets extends JViewLegacy
// Set Type Name Selection
$this->typeNameOptions = JFormHelper::loadFieldType('Snippettype')->options;
// We do some sanitation for filter
// We do some sanitation for Type Name filter
if (ComponentbuilderHelper::checkArray($this->typeNameOptions) &&
isset($this->typeNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->typeNameOptions[0]->value))
{
unset($this->typeNameOptions[0]);
}
// Only load filter if it has values
// Only load Type Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->typeNameOptions))
{
// Type Name Filter
@ -228,14 +228,14 @@ class ComponentbuilderViewSnippets extends JViewLegacy
// Set Library Name Selection
$this->libraryNameOptions = JFormHelper::loadFieldType('Library')->options;
// We do some sanitation for filter
// We do some sanitation for Library Name filter
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions) &&
isset($this->libraryNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->libraryNameOptions[0]->value))
{
unset($this->libraryNameOptions[0]);
}
// Only load filter if it has values
// Only load Library Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions))
{
// Library Name Filter

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewTemplates extends JViewLegacy
// Set Dynamic Get Name Selection
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
// We do some sanitation for filter
// We do some sanitation for Dynamic Get Name filter
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
isset($this->dynamic_getNameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
{
unset($this->dynamic_getNameOptions[0]);
}
// Only load filter if it has values
// Only load Dynamic Get Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
{
// Dynamic Get Name Filter

View File

@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<input type="hidden" name="task" value="validation_rule.edit" />
<?php echo JHtml::_('form.token'); ?>
</div>
</div>
</div>
</form>
</div>