Moved many field related get methods to its own classes

This commit is contained in:
2022-09-10 10:12:13 +02:00
parent 4a32d3d50e
commit c5a85f167e
34 changed files with 2406 additions and 32 deletions

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Component;
/**
* Component Placeholder Interface
* Component Placeholder Interface
*
* @since 3.2.0
*/
interface PlaceholderInterface
{

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
/**
* Customcode Dispenser Interface
* Customcode Dispenser Interface
*
* @since 3.2.0
*/
interface DispenserInterface
{

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
/**
* Customcode External Interface
* Customcode External Interface
*
* @since 3.2.0
*/
interface ExternalInterface
{

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
/**
* Customcode Extractor Interface
* Customcode Extractor Interface
*
* @since 3.2.0
*/
interface ExtractorInterface
{

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
/**
* Customcode Gui Interface
* Customcode Gui Interface
*
* @since 3.2.0
*/
interface GuiInterface
{

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
/**
* Customcode LockBase Interface
* Customcode LockBase Interface
*
* @since 3.2.0
*/
interface LockBaseInterface
{

View File

@@ -23,7 +23,7 @@ interface EventInterface
* Trigger an event
*
* @param string $event The event to trigger
* @param mix $data The values to pass to the event/plugin
* @param mixed $data The values to pass to the event/plugin
*
* @return void
* @since 3.2.0

View File

@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Extension;
/**
* The properties an extension should have to be passed to the InstallScript class
* The properties an extension should have to be passed to the InstallScript class
*
* @since 3.2.0
*/
interface InstallInterface
{

View File

@@ -0,0 +1,32 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Field;
/**
* Field Joomla Core Validation Interface
*
* @since 3.2.0
*/
interface CoreValidationInterface
{
/**
* Get the Array of Existing Validation Rule Names
*
* @param bool $lowercase Switch to set rules lowercase
*
* @return array
* @since 3.2.0
*/
public function get(bool $lowercase = false): array;
}

View File

@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

View File

@@ -0,0 +1,34 @@
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces;
/**
* Compiler History Interface
*
* @since 3.2.0
*/
interface HistoryInterface
{
/**
* Get Item History object
*
* @param string $type The type of item
* @param int $id The item ID
*
* @return ?object The history item object
* @since 3.2.0
*/
public function get(string $type, int $id): ?object;
}