Commit graph

23 commits

Author SHA1 Message Date
Alex Tselegidis
99cf4c8da2 Improve the Model "optional" method functionality for empty values 2024-08-13 13:23:51 +02:00
Alex Tselegidis
c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01:00
Alex Tselegidis
2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +01:00
Alex Tselegidis
2e3e766f73 Add missing field filtering and the optional model method 2023-01-14 09:38:49 +01:00
Alex Tselegidis
d2c6d5a571 Add helper method for optional fields 2022-12-26 10:22:22 +01:00
Alex Tselegidis
54bc07f62a Update the EA_Model::only method to use the array_fields function 2022-10-16 18:04:49 +03:00
Alex Tselegidis
54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis
a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +01:00
Alex Tselegidis
ea659ccb9f The base model knows how to map an API resource field to a DB field. 2021-11-03 08:22:27 +01:00
Alex Tselegidis
4c6c5b5913 Remove the old and deprecated API_V1_Controller.php 2021-11-02 10:45:05 +01:00
Alex Tselegidis
c2127a28fb Added missing comments 2021-11-02 10:04:46 +01:00
Alex Tselegidis
3233c19571 Added overrides for all the framework classes as templates and for consistency 2021-10-29 13:04:26 +02:00
Alex Tselegidis
12ec5c1ac3 The request helper can now also fetch JSON-payload attributes 2021-10-29 12:54:49 +02:00
Alex Tselegidis
dd546164fb Common type casting functionality 2021-10-29 12:39:49 +02:00
Alex Tselegidis
76afdef30b Moved the instance handling logic to a re-usable library 2021-10-29 10:44:01 +02:00
Alex Tselegidis
9a528e6734 Updated the class comments 2021-10-29 10:18:44 +02:00
Alex Tselegidis
b2d2a5a1ce Updated the new accounts library. 2021-10-28 13:29:15 +02:00
Alex Tselegidis
40e06d2f19 The base model class has all the deprecated methods for backwards compatibility. 2021-10-27 10:06:44 +02:00
Alex Tselegidis
584e624139 Added deprecated method stubs for backwards compatibility 2021-10-24 14:16:35 +02:00
Alex Tselegidis
6417db8ca1 Added fallback support for the model class deprecations 2021-10-23 19:33:55 +02:00
Alex Tselegidis
ea8798d2a6 The model base class needs a constructor when running the app with PHP8.0 2021-07-19 14:03:40 +03:00
Alex Tselegidis
8c8160897a Added more CI classes in the core props block 2020-12-04 12:58:31 +02:00
Alex Tselegidis
75a5addbc2 Grouped the property tag into parent core classes so that it does not need to be repeated. 2020-11-16 10:29:36 +02:00