Commit Graph

61 Commits

Author SHA1 Message Date
Alex Tselegidis 6c4a15b429 Treat undefined keys as NULL 2021-12-17 10:36:22 +01:00
Alex Tselegidis dbba0865e8 Removed caching from the settings helper as it may lead to unexpected behavior (if for example values get updated in another way). 2021-12-17 09:01:12 +01:00
Alex Tselegidis bfe6664d58 Added new "page_vars" function that will handle the rendered page variables. 2021-12-17 08:46:47 +01:00
Alex Tselegidis bfef58672c Added new "is_route" helper method 2021-12-17 08:45:28 +01:00
Alex Tselegidis 775d385e09 Added caching to the settings helper so that we avoid unnecessary queries to the database. 2021-12-17 08:44:38 +01:00
Alex Tselegidis 1eaa59d192 Corrected the js_config helper function 2021-12-14 07:51:26 +01:00
Alex Tselegidis 29b22ece3c Added the js_config helper method that will assign public JS config values 2021-12-14 07:47:35 +01:00
alextselegidis 532ee4fabc Allow multiple renders with the loader class during the rendering of a layout page 2021-11-17 08:41:51 +01:00
alextselegidis 62b0651ce8 Fixed issues with component rendering 2021-11-16 10:14:47 +01:00
alextselegidis ae408c4bfb Adjusted the components html helper function 2021-11-15 09:48:26 +01:00
alextselegidis b7c39e94a2 Renamed the component_helper.php file to html_helper.php 2021-11-15 08:53:24 +01:00
alextselegidis 4a29034418 Added new layout helper methods in the component_helper.php file 2021-11-15 08:52:35 +01:00
alextselegidis 179e72bfb9 Changed the directory of the render functions to "components" 2021-11-11 09:01:42 +01:00
alextselegidis 538ded7d69 Added new component helper file 2021-11-11 09:00:48 +01:00
alextselegidis 6c356aec50 Added new functions to the render helper that render the global variables and EALang scripts into a view file 2021-11-09 08:40:20 +01:00
Alex Tselegidis 3476807b40 Added the routes helper file 2021-11-06 10:18:46 +01:00
Alex Tselegidis 95a4e94a53 The response helper function must properly set the status code and the headers 2021-11-05 08:31:37 +01:00
Alex Tselegidis c390a6552a Using the request helper without specifying a key should return the entire request body. 2021-11-03 08:22:05 +01:00
Alex Tselegidis 12ec5c1ac3 The request helper can now also fetch JSON-payload attributes 2021-10-29 12:54:49 +02:00
Alex Tselegidis adc6d00bb5 Updated the Google Analytics and Permissions helper functions. 2021-10-28 13:59:27 +02:00
Alex Tselegidis 110e5ec17d Properly read and write settings via the settings helper 2021-10-28 13:27:14 +02:00
Alex Tselegidis a241e8b2a4 Removed teh custom_exceptions_helper.php file 2021-10-27 12:02:24 +02:00
Alex Tselegidis c1db2b636c The content array must be encoded before returned 2021-10-27 11:44:45 +02:00
Alex Tselegidis c495cd8225 Added the success prop to the json exception response payload 2021-10-27 11:19:45 +02:00
Alex Tselegidis f5471b0f2b Renamed and updated the password helper 2021-10-24 22:00:59 +02:00
Alex Tselegidis 658c131f79 Renamed and updated the validation helper 2021-10-24 22:00:16 +02:00
Alex Tselegidis bc1380ca89 Added helper file with permission related functions. 2021-10-23 19:19:21 +02:00
Alex Tselegidis a97b6a4e13 Added helper file with http related functions. 2021-10-23 19:08:08 +02:00
Alex Tselegidis e55c68fcb4 Added @throws tag at the comments 2021-10-23 13:42:23 +02:00
Alex Tselegidis d636f60cbc Added short argument explanation 2021-10-23 13:41:41 +02:00
Alex Tselegidis 0a6b596dec Added examples at the comments 2021-10-23 13:38:54 +02:00
Alex Tselegidis c117eda101 Set the right @since value for the new helper files 2021-10-23 13:29:31 +02:00
Alex Tselegidis 6d5a961fc7 Added helper file with path related functions. 2021-10-23 13:28:01 +02:00
Alex Tselegidis 4a7cdd96b2 Added helper file with setting related functions. 2021-10-23 13:21:30 +02:00
Alex Tselegidis 30c08bf95a Changed the return comment 2021-10-23 13:20:39 +02:00
Alex Tselegidis af656d70e2 Changed the return comment 2021-10-23 13:20:33 +02:00
Alex Tselegidis d70e6f21ce Added helper file with session related functions. 2021-10-23 13:18:20 +02:00
Alex Tselegidis 7a85ae6fc8 Updated the get example. 2021-10-23 13:17:38 +02:00
Alex Tselegidis aad8e38bea Added additional comment 2021-10-23 13:13:43 +02:00
Alex Tselegidis 863caa31fd Added helper file with environment related functions. 2021-10-23 13:11:19 +02:00
Alex Tselegidis b14341c328 Validate $key argument with empty instead with is_null 2021-10-23 13:10:09 +02:00
Alex Tselegidis 31c324dd92 Updated the exception message. 2021-10-23 13:08:24 +02:00
Alex Tselegidis 8abeb4dbf2 Added new helper file with debugging related functions 2021-10-23 13:07:00 +02:00
Alex Tselegidis 85a6be1d7d Changed the exception instance to InvalidArgument exception. 2021-10-23 13:06:41 +02:00
Alex Tselegidis 1492963dee The config helper function can now also set a value. 2021-10-23 13:04:15 +02:00
Alex Tselegidis 727391aa8f Added default value to the config helper 2021-10-23 12:59:39 +02:00
David Kagerer acbce19a50 feat: add ga4 property support
Since google analytics is using now GA4 the support for the new script was needed
2021-03-30 21:13:59 +02:00
Alex Tselegidis df8417a8cc Minor refactoring to helper files 2020-12-05 11:55:20 +02:00
Alex Tselegidis 14017a49f5 Renamed the partial directory 2020-12-05 11:16:07 +02:00
Alex Tselegidis 9cde499f9a Use the shorthand method for config items 2020-12-02 22:12:54 +02:00