forked from ohrionmartin/subform-power
Add API integration
This commit is contained in:
14
README.md
14
README.md
@@ -8,24 +8,24 @@ Demonstration of subform super power
|
||||
+ *Author*: [Oh Martin](mailto:oh@nampharm.com.na)
|
||||
+ *Name*: [Subform Power](https://nampharm.com.na)
|
||||
+ *First Build*: 24th May, 2024
|
||||
+ *Last Build*: 20th August, 2024
|
||||
+ *Last Build*: 21st August, 2024
|
||||
+ *Version*: 1.0.1
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## 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))
|
||||
|
||||
> (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.)
|
||||
|
||||
+ *Line count*: **25284**
|
||||
+ *File count*: **234**
|
||||
+ *Folder count*: **81**
|
||||
+ *Line count*: **25804**
|
||||
+ *File count*: **246**
|
||||
+ *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:
|
||||
> **debugging @18hours** = codingtime / 4;
|
||||
@@ -33,7 +33,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
|
||||
> **mapping @7hours** = codingtime / 10;
|
||||
> **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)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerInstallerPowerloader.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerInstallerScript.php
|
||||
|
@@ -8,24 +8,24 @@ Demonstration of subform super power
|
||||
+ *Author*: [Oh Martin](mailto:oh@nampharm.com.na)
|
||||
+ *Name*: [Subform Power](https://nampharm.com.na)
|
||||
+ *First Build*: 24th May, 2024
|
||||
+ *Last Build*: 20th August, 2024
|
||||
+ *Last Build*: 21st August, 2024
|
||||
+ *Version*: 1.0.1
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## 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))
|
||||
|
||||
> (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.)
|
||||
|
||||
+ *Line count*: **25284**
|
||||
+ *File count*: **234**
|
||||
+ *Folder count*: **81**
|
||||
+ *Line count*: **25804**
|
||||
+ *File count*: **246**
|
||||
+ *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:
|
||||
> **debugging @18hours** = codingtime / 4;
|
||||
@@ -33,7 +33,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
|
||||
> **mapping @7hours** = codingtime / 10;
|
||||
> **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)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage admin.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage countries.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage country.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage currencies.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage currency.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage dashboard.css
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage admin.js
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage currencies_fullwidth.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_above.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_left.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_right.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage more_stuff_fullwidth.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage publishing.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage publlshing.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_above.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_left.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage details_right.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage publishing.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage publlshing.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage provider.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountryController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrenciesController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrencyController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage DisplayController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage ImportController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerController.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerComponent.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesfilterisoField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesfilterisothreeField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesfilternumcodeField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesfilterphonecodeField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrenciesfiltersymbolField.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HeaderCheck.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage PowerloaderHelper.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerHelper.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountriesModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountryModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrenciesModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrencyModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage ImportModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage SubformpowerModel.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage GuidRule.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CountryTable.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage CurrencyTable.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage HtmlView.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_body.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_foot.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_head.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_toolbar.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage emptystate.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_body.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_foot.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_head.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_toolbar.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage emptystate.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_main.php
|
||||
|
@@ -4,7 +4,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage default_vdm.php
|
||||
|
1
api/index.html
Normal file
1
api/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
51
api/src/Controller/CountriesController.php
Normal file
51
api/src/Controller/CountriesController.php
Normal 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';
|
||||
}
|
138
api/src/Controller/CountryController.php
Normal file
138
api/src/Controller/CountryController.php
Normal 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);
|
||||
}
|
||||
}
|
51
api/src/Controller/CurrenciesController.php
Normal file
51
api/src/Controller/CurrenciesController.php
Normal 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';
|
||||
}
|
138
api/src/Controller/CurrencyController.php
Normal file
138
api/src/Controller/CurrencyController.php
Normal 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);
|
||||
}
|
||||
}
|
1
api/src/Controller/index.html
Normal file
1
api/src/Controller/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
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>
|
1
api/src/index.html
Normal file
1
api/src/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@@ -45,8 +45,8 @@ final class Load extends Model implements ModelInterface
|
||||
$table = $this->getTable();
|
||||
}
|
||||
|
||||
// check if this is a valid table
|
||||
if (($store = $this->table->get($table, $field, 'store')) !== null)
|
||||
// check if this is a valid table (don't touch null)
|
||||
if ($value !== null && ($store = $this->table->get($table, $field, 'store')) !== null)
|
||||
{
|
||||
// open the value based on the store method
|
||||
switch($store)
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage country.js
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 20th August, 2024
|
||||
@build 21st August, 2024
|
||||
@created 24th May, 2024
|
||||
@package Subform Power
|
||||
@subpackage currency.js
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="5.0" method="upgrade">
|
||||
<name>COM_SUBFORMPOWER</name>
|
||||
<creationDate>20th August, 2024</creationDate>
|
||||
<creationDate>21st August, 2024</creationDate>
|
||||
<author>Oh Martin</author>
|
||||
<authorEmail>oh@nampharm.com.na</authorEmail>
|
||||
<authorUrl>https://nampharm.com.na</authorUrl>
|
||||
|
Reference in New Issue
Block a user