forked from ohrionmartin/subform-power
Add API integration
This commit is contained in:
36
api/src/View/Countries/JsonapiView.php
Normal file
36
api/src/View/Countries/JsonapiView.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
||||
Nampharm
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage JsonapiView.php
|
||||
@author Oh Martin <https://nampharm.com.na>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
|
||||
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
|
||||
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
|
||||
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
namespace JCB\Component\Subformpower\Api\View\Countries;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
|
||||
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
|
||||
|
||||
// No direct access to this file
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
/**
|
||||
* Subformpower Json View class for the Countries
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
class JsonapiView extends BaseApiView
|
||||
{
|
||||
}
|
1
api/src/View/Countries/index.html
Normal file
1
api/src/View/Countries/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
36
api/src/View/Country/JsonapiView.php
Normal file
36
api/src/View/Country/JsonapiView.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
||||
Nampharm
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage JsonapiView.php
|
||||
@author Oh Martin <https://nampharm.com.na>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
|
||||
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
|
||||
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
|
||||
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
namespace JCB\Component\Subformpower\Api\View\Country;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
|
||||
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
|
||||
|
||||
// No direct access to this file
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
/**
|
||||
* Country Json View class
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
class JsonapiView extends BaseApiView
|
||||
{
|
||||
}
|
1
api/src/View/Country/index.html
Normal file
1
api/src/View/Country/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
36
api/src/View/Currencies/JsonapiView.php
Normal file
36
api/src/View/Currencies/JsonapiView.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
||||
Nampharm
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage JsonapiView.php
|
||||
@author Oh Martin <https://nampharm.com.na>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
|
||||
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
|
||||
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
|
||||
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
namespace JCB\Component\Subformpower\Api\View\Currencies;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
|
||||
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
|
||||
|
||||
// No direct access to this file
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
/**
|
||||
* Subformpower Json View class for the Currencies
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
class JsonapiView extends BaseApiView
|
||||
{
|
||||
}
|
1
api/src/View/Currencies/index.html
Normal file
1
api/src/View/Currencies/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
36
api/src/View/Currency/JsonapiView.php
Normal file
36
api/src/View/Currency/JsonapiView.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
||||
Nampharm
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage JsonapiView.php
|
||||
@author Oh Martin <https://nampharm.com.na>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
|
||||
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
|
||||
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
|
||||
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
namespace JCB\Component\Subformpower\Api\View\Currency;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
|
||||
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
|
||||
|
||||
// No direct access to this file
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
/**
|
||||
* Currency Json View class
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
class JsonapiView extends BaseApiView
|
||||
{
|
||||
}
|
1
api/src/View/Currency/index.html
Normal file
1
api/src/View/Currency/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1
api/src/View/index.html
Normal file
1
api/src/View/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
Reference in New Issue
Block a user