Moved many field related get methods to its own classes
This commit is contained in:
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Component;
|
||||
|
||||
|
||||
/**
|
||||
* Component Placeholder Interface
|
||||
* Component Placeholder Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface PlaceholderInterface
|
||||
{
|
||||
|
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
|
||||
|
||||
|
||||
/**
|
||||
* Customcode Dispenser Interface
|
||||
* Customcode Dispenser Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface DispenserInterface
|
||||
{
|
||||
|
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
|
||||
|
||||
|
||||
/**
|
||||
* Customcode External Interface
|
||||
* Customcode External Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface ExternalInterface
|
||||
{
|
||||
|
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
|
||||
|
||||
|
||||
/**
|
||||
* Customcode Extractor Interface
|
||||
* Customcode Extractor Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface ExtractorInterface
|
||||
{
|
||||
|
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
|
||||
|
||||
|
||||
/**
|
||||
* Customcode Gui Interface
|
||||
* Customcode Gui Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface GuiInterface
|
||||
{
|
||||
|
@@ -13,7 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Compiler\Interfaces\Customcode;
|
||||
|
||||
|
||||
/**
|
||||
* Customcode LockBase Interface
|
||||
* Customcode LockBase Interface
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
interface LockBaseInterface
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@@ -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;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user