Add API integration

This commit is contained in:
Oh
2024-08-21 16:46:56 +02:00
parent 96cb33e792
commit ab99fc1336
94 changed files with 621 additions and 91 deletions

View File

@@ -8,24 +8,24 @@ Demonstration of subform super power
+ *Author*: [Oh Martin](mailto:oh@nampharm.com.na) + *Author*: [Oh Martin](mailto:oh@nampharm.com.na)
+ *Name*: [Subform Power](https://nampharm.com.na) + *Name*: [Subform Power](https://nampharm.com.na)
+ *First Build*: 24th May, 2024 + *First Build*: 24th May, 2024
+ *Last Build*: 20th August, 2024 + *Last Build*: 21st August, 2024
+ *Version*: 1.0.1 + *Version*: 1.0.1
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time ## Build Time
**71 Hours** or **9 Eight Hour Days** (actual time the author saved - **72 Hours** or **9 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **25284** + *Line count*: **25804**
+ *File count*: **234** + *File count*: **246**
+ *Folder count*: **81** + *Folder count*: **85**
**46 Hours** or **6 Eight Hour Days** (the actual time the author spent) **48 Hours** or **6 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @18hours** = codingtime / 4; > **debugging @18hours** = codingtime / 4;
@@ -33,7 +33,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> **mapping @7hours** = codingtime / 10; > **mapping @7hours** = codingtime / 10;
> **office @12hours** = codingtime / 6;) > **office @12hours** = codingtime / 6;)
**117 Hours** or **15 Eight Hour Days** **120 Hours** or **15 Eight Hour Days**
(a total of the realistic time frame for this project) (a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerInstallerPowerloader.php @subpackage SubformpowerInstallerPowerloader.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerInstallerScript.php @subpackage SubformpowerInstallerScript.php

View File

@@ -8,24 +8,24 @@ Demonstration of subform super power
+ *Author*: [Oh Martin](mailto:oh@nampharm.com.na) + *Author*: [Oh Martin](mailto:oh@nampharm.com.na)
+ *Name*: [Subform Power](https://nampharm.com.na) + *Name*: [Subform Power](https://nampharm.com.na)
+ *First Build*: 24th May, 2024 + *First Build*: 24th May, 2024
+ *Last Build*: 20th August, 2024 + *Last Build*: 21st August, 2024
+ *Version*: 1.0.1 + *Version*: 1.0.1
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time ## Build Time
**71 Hours** or **9 Eight Hour Days** (actual time the author saved - **72 Hours** or **9 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **25284** + *Line count*: **25804**
+ *File count*: **234** + *File count*: **246**
+ *Folder count*: **81** + *Folder count*: **85**
**46 Hours** or **6 Eight Hour Days** (the actual time the author spent) **48 Hours** or **6 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @18hours** = codingtime / 4; > **debugging @18hours** = codingtime / 4;
@@ -33,7 +33,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> **mapping @7hours** = codingtime / 10; > **mapping @7hours** = codingtime / 10;
> **office @12hours** = codingtime / 6;) > **office @12hours** = codingtime / 6;)
**117 Hours** or **15 Eight Hour Days** **120 Hours** or **15 Eight Hour Days**
(a total of the realistic time frame for this project) (a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage admin.css @subpackage admin.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage countries.css @subpackage countries.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage country.css @subpackage country.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage currencies.css @subpackage currencies.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage currency.css @subpackage currency.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage dashboard.css @subpackage dashboard.css

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage admin.js @subpackage admin.js

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage currencies_fullwidth.php @subpackage currencies_fullwidth.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_above.php @subpackage details_above.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_left.php @subpackage details_left.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_right.php @subpackage details_right.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage more_stuff_fullwidth.php @subpackage more_stuff_fullwidth.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage publishing.php @subpackage publishing.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage publlshing.php @subpackage publlshing.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_above.php @subpackage details_above.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_left.php @subpackage details_left.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage details_right.php @subpackage details_right.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage publishing.php @subpackage publishing.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage publlshing.php @subpackage publlshing.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage provider.php @subpackage provider.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesController.php @subpackage CountriesController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountryController.php @subpackage CountryController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrenciesController.php @subpackage CurrenciesController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrencyController.php @subpackage CurrencyController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage DisplayController.php @subpackage DisplayController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage ImportController.php @subpackage ImportController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerController.php @subpackage SubformpowerController.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerComponent.php @subpackage SubformpowerComponent.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesField.php @subpackage CountriesField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesfilterisoField.php @subpackage CountriesfilterisoField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesfilterisothreeField.php @subpackage CountriesfilterisothreeField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesfilternumcodeField.php @subpackage CountriesfilternumcodeField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesfilterphonecodeField.php @subpackage CountriesfilterphonecodeField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrenciesfiltersymbolField.php @subpackage CurrenciesfiltersymbolField.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HeaderCheck.php @subpackage HeaderCheck.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage PowerloaderHelper.php @subpackage PowerloaderHelper.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerHelper.php @subpackage SubformpowerHelper.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountriesModel.php @subpackage CountriesModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountryModel.php @subpackage CountryModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrenciesModel.php @subpackage CurrenciesModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrencyModel.php @subpackage CurrencyModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage ImportModel.php @subpackage ImportModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage SubformpowerModel.php @subpackage SubformpowerModel.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage GuidRule.php @subpackage GuidRule.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CountryTable.php @subpackage CountryTable.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage CurrencyTable.php @subpackage CurrencyTable.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage HtmlView.php @subpackage HtmlView.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_body.php @subpackage default_body.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_foot.php @subpackage default_foot.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_head.php @subpackage default_head.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage emptystate.php @subpackage emptystate.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_body.php @subpackage default_body.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_foot.php @subpackage default_foot.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_head.php @subpackage default_head.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage emptystate.php @subpackage emptystate.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default.php @subpackage default.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_main.php @subpackage default_main.php

View File

@@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage default_vdm.php @subpackage default_vdm.php

1
api/index.html Normal file
View File

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

View File

@@ -0,0 +1,51 @@
<?php
/*----------------------------------------------------------------------------------| www.vdm.io |----/
Nampharm
/-------------------------------------------------------------------------------------------------------/
@version 1.0.1
@build 21st August, 2024
@created 24th May, 2024
@package Subform Power
@subpackage CountriesController.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\Controller;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\ApiController;
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
// No direct access to this file
\defined('_JEXEC') or die;
/**
* Countries Api Controller
*
* @since 4.0.0
*/
class CountriesController extends ApiController
{
/**
* The content type of the item.
*
* @var string
* @since 4.0.0
*/
protected $contentType = 'countries';
/**
* The default view for the display method.
*
* @var string
* @since 3.0
*/
protected $default_view = 'countries';
}

View File

@@ -0,0 +1,138 @@
<?php
/*----------------------------------------------------------------------------------| www.vdm.io |----/
Nampharm
/-------------------------------------------------------------------------------------------------------/
@version 1.0.1
@build 21st August, 2024
@created 24th May, 2024
@package Subform Power
@subpackage CountryController.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\Controller;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\ApiController;
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
// No direct access to this file
\defined('_JEXEC') or die;
/**
* Country Api Controller
*
* @since 4.0.0
*/
class CountryController extends ApiController
{
/**
* The content type of the item.
*
* @var string
* @since 4.0.0
*/
protected $contentType = 'country';
/**
* The default view for the display method.
*
* @var string
* @since 3.0
*/
protected $default_view = 'country';
/**
* Method override to check if you can add a new record.
*
* @param array $data An array of input data.
*
* @return boolean
*
* @since 1.6
*/
protected function allowAdd($data = [])
{
// Get user object.
$user = $this->app->getIdentity();
// Access check.
$access = $user->authorise('country.access', 'com_subformpower');
if (!$access)
{
return false;
}
// In the absence of better information, revert to the component permissions.
return $user->authorise('country.create', $this->option);
}
/**
* Method override to check if you can edit an existing record.
*
* @param array $data An array of input data.
* @param string $key The name of the key for the primary key.
*
* @return boolean
*
* @since 1.6
*/
protected function allowEdit($data = [], $key = 'id')
{
// get user object.
$user = $this->app->getIdentity();
// get record id.
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
// Access check.
$access = ($user->authorise('country.access', 'com_subformpower.country.' . (int) $recordId) && $user->authorise('country.access', 'com_subformpower'));
if (!$access)
{
return false;
}
if ($recordId)
{
// The record has been set. Check the record permissions.
$permission = $user->authorise('country.edit', 'com_subformpower.country.' . (int) $recordId);
if (!$permission)
{
if ($user->authorise('country.edit.own', 'com_subformpower.country.' . $recordId))
{
// Now test the owner is the user.
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
if (empty($ownerId))
{
// Need to do a lookup from the model.
$record = $this->getModel()->getItem($recordId);
if (empty($record))
{
return false;
}
$ownerId = $record->created_by;
}
// If the owner matches 'me' then allow.
if ($ownerId == $user->id)
{
if ($user->authorise('country.edit.own', 'com_subformpower'))
{
return true;
}
}
}
return false;
}
}
// Since there is no permission, revert to the component permissions.
return $user->authorise('country.edit', $this->option);
}
}

View File

@@ -0,0 +1,51 @@
<?php
/*----------------------------------------------------------------------------------| www.vdm.io |----/
Nampharm
/-------------------------------------------------------------------------------------------------------/
@version 1.0.1
@build 21st August, 2024
@created 24th May, 2024
@package Subform Power
@subpackage CurrenciesController.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\Controller;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\ApiController;
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
// No direct access to this file
\defined('_JEXEC') or die;
/**
* Currencies Api Controller
*
* @since 4.0.0
*/
class CurrenciesController extends ApiController
{
/**
* The content type of the item.
*
* @var string
* @since 4.0.0
*/
protected $contentType = 'currencies';
/**
* The default view for the display method.
*
* @var string
* @since 3.0
*/
protected $default_view = 'currencies';
}

View File

@@ -0,0 +1,138 @@
<?php
/*----------------------------------------------------------------------------------| www.vdm.io |----/
Nampharm
/-------------------------------------------------------------------------------------------------------/
@version 1.0.1
@build 21st August, 2024
@created 24th May, 2024
@package Subform Power
@subpackage CurrencyController.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\Controller;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\ApiController;
use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper;
// No direct access to this file
\defined('_JEXEC') or die;
/**
* Currency Api Controller
*
* @since 4.0.0
*/
class CurrencyController extends ApiController
{
/**
* The content type of the item.
*
* @var string
* @since 4.0.0
*/
protected $contentType = 'currency';
/**
* The default view for the display method.
*
* @var string
* @since 3.0
*/
protected $default_view = 'currency';
/**
* Method override to check if you can add a new record.
*
* @param array $data An array of input data.
*
* @return boolean
*
* @since 1.6
*/
protected function allowAdd($data = [])
{
// Get user object.
$user = $this->app->getIdentity();
// Access check.
$access = $user->authorise('currency.access', 'com_subformpower');
if (!$access)
{
return false;
}
// In the absence of better information, revert to the component permissions.
return $user->authorise('currency.create', $this->option);
}
/**
* Method override to check if you can edit an existing record.
*
* @param array $data An array of input data.
* @param string $key The name of the key for the primary key.
*
* @return boolean
*
* @since 1.6
*/
protected function allowEdit($data = [], $key = 'id')
{
// get user object.
$user = $this->app->getIdentity();
// get record id.
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
// Access check.
$access = ($user->authorise('currency.access', 'com_subformpower.currency.' . (int) $recordId) && $user->authorise('currency.access', 'com_subformpower'));
if (!$access)
{
return false;
}
if ($recordId)
{
// The record has been set. Check the record permissions.
$permission = $user->authorise('currency.edit', 'com_subformpower.currency.' . (int) $recordId);
if (!$permission)
{
if ($user->authorise('currency.edit.own', 'com_subformpower.currency.' . $recordId))
{
// Now test the owner is the user.
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
if (empty($ownerId))
{
// Need to do a lookup from the model.
$record = $this->getModel()->getItem($recordId);
if (empty($record))
{
return false;
}
$ownerId = $record->created_by;
}
// If the owner matches 'me' then allow.
if ($ownerId == $user->id)
{
if ($user->authorise('currency.edit.own', 'com_subformpower'))
{
return true;
}
}
}
return false;
}
}
// Since there is no permission, revert to the component permissions.
return $user->authorise('currency.edit', $this->option);
}
}

View File

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

View 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
{
}

View File

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

View 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
{
}

View File

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

View 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
{
}

View File

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

View 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
{
}

View File

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

1
api/src/View/index.html Normal file
View File

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

1
api/src/index.html Normal file
View File

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

View File

@@ -45,8 +45,8 @@ final class Load extends Model implements ModelInterface
$table = $this->getTable(); $table = $this->getTable();
} }
// check if this is a valid table // check if this is a valid table (don't touch null)
if (($store = $this->table->get($table, $field, 'store')) !== null) if ($value !== null && ($store = $this->table->get($table, $field, 'store')) !== null)
{ {
// open the value based on the store method // open the value based on the store method
switch($store) switch($store)

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage country.js @subpackage country.js

View File

@@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------/
@version 1.0.1 @version 1.0.1
@build 20th August, 2024 @build 21st August, 2024
@created 24th May, 2024 @created 24th May, 2024
@package Subform Power @package Subform Power
@subpackage currency.js @subpackage currency.js

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="5.0" method="upgrade"> <extension type="component" version="5.0" method="upgrade">
<name>COM_SUBFORMPOWER</name> <name>COM_SUBFORMPOWER</name>
<creationDate>20th August, 2024</creationDate> <creationDate>21st August, 2024</creationDate>
<author>Oh Martin</author> <author>Oh Martin</author>
<authorEmail>oh@nampharm.com.na</authorEmail> <authorEmail>oh@nampharm.com.na</authorEmail>
<authorUrl>https://nampharm.com.na</authorUrl> <authorUrl>https://nampharm.com.na</authorUrl>