This website requires JavaScript.
64bcfa0b00
Add Lib\Request.
master
KJ
2024-02-17 21:16:06 -0400
cd01ab9e72
Change switch to match.
KJ
2023-10-20 16:26:17 -0400
e2094ccb4a
Add option to use another extensions, js and css methods.
KJ
2023-09-15 21:26:53 -0400
341d7837a1
Add Router::reconfigure method.
KJ
2023-09-08 22:42:50 -0400
030e1079dc
add mising types, patch method and a new way to set middleware
KJ
2023-08-22 01:48:04 -0400
af673a68b8
Add exit after redirect in order to avoid other erros.
KJ
2023-08-09 08:54:17 -0400
eff0b86762
Allow construct Neuron with named arguments.
KJ
2023-06-04 14:47:58 -0400
39a1f9d85a
Improve magic function __get.
KJ
2023-06-04 14:34:24 -0400
d48f24ed98
Improve return types.
kj
2023-04-22 05:32:37 -0400
b326c8e1d0
Fix mising use.
kj
2023-04-16 23:47:49 -0400
1267d6b2f6
Fix deprecation warnings on PHP8.2
kj
2023-04-15 13:17:00 -0400
a8d95cb55b
Fix empty application/json.
kj
2023-04-14 16:43:50 -0400
06b7907f7c
Define mixed type to param $id on getById method.
kj
2023-03-25 21:28:25 -0400
4d052efba6
Change return type from mixed to ?Model on getFirts and getById methods.
kj
2023-03-25 18:28:21 -0400
11141a0eee
Allow send string to setNull method.
kj
2023-03-25 12:27:33 -0400
3c8a21161f
Add missing docblocks and return types.
kj
2023-03-25 12:26:42 -0400
1bde430251
Improve Neuron and allow use to clone another object.
kj
2023-03-15 22:16:05 -0400
7d3d1615d5
Fix View:txt and add charset.
kj
2022-11-22 00:59:20 -0400
404bd59569
Improve where, and, or and search method.
kj
2022-08-22 15:26:32 -0400
53bdc92344
Add bindValue method to Libs\Model.
kj
2022-08-18 16:38:40 -0400
ad7b78f427
Fix prepare variables when special where/and/or columns.
kj
2022-08-12 06:31:54 -0400
38d2a90318
Fix count when using joins.
kj
2022-08-12 05:46:24 -0400
2411704662
Add sqlite support.
kj
2022-08-04 05:30:22 -0400
08d92a2b81
Allow usage of bool types on the ORM.
kj
2022-08-01 08:27:49 -0400
8d47e10d7a
Fix resetQuery.
kj
2022-07-29 22:23:07 -0400
2c7938a0c3
Set default fetch mode to fetch assoc.
kj
2022-07-24 00:29:34 -0400
c57ca191b1
Rename limit() variables with better names and add description.
kj
2022-07-19 12:08:22 -0400
f4eabe6d54
Minor fixes.
kj
2022-07-14 22:39:38 -0400
83d9ba55aa
Update migration notes.
kj
2022-07-14 22:08:43 -0400
bad7bf0e65
Update config template.
kj
2022-07-14 22:03:07 -0400
5284be2b1b
Update org files.
kj
2022-07-14 21:59:27 -0400
0db6e4a021
rework to change from MySQLi to PDO.
kj
2022-07-14 21:41:48 -0400
afb4c914a1
Fix error on where_in with string values.
kj
2022-07-10 12:10:01 -0400
4c4fe6f1f7
Change View to work as instance and render text and json.
kj
2022-06-25 21:11:11 -0400
b6555ee039
Fix docblocks.
kj
2022-06-07 23:06:37 -0400
a641248453
Add middleware priorities.
kj
2022-06-07 23:05:49 -0400
eb27acf68e
Add middleware lib.
kj
2022-05-18 12:29:27 -0400
f38c6610fb
Allow multiple middlewares.
kj
2022-05-18 12:29:07 -0400
4003a88f66
Insignificant change: Rename some variables.
kj
2022-04-14 12:52:52 -0400
01927ec946
Normalize header comments to phpdoc compatibility.
kj
2022-04-12 15:56:50 -0400
a23e795f5c
Fix error on getVars when get not set properties.
kj
2022-04-05 17:12:30 -0400
9689ac82cf
Fix wrong result type on getById.
kj
2022-03-30 14:09:08 -0400
fe61d14713
Fix error on save.
kj
2022-03-28 21:55:29 -0400
97380b2bee
Change ModelMySQL atributes to strong typed.
kj
2022-03-22 04:30:47 -0400
4cd7850931
fix result type on ModelMySQL::query.
kj
2022-03-17 22:38:10 -0400
4240b048fd
add missing use for mysqli_result.
kj
2022-03-17 22:31:47 -0400
f43028d72d
Migrate to strong typed (compatible only with PHP 7.0+).
kj
2022-03-17 17:22:04 -0400
503efef448
Update comments to phpdoc compatible format.
kj
2022-02-23 20:53:36 -0400
81f2d4d665
Disable th usade of "-" on {pseudovariables}
kj
2022-01-27 11:17:35 -0400
4b1585fe6d
Change URI to Path.
kj
2022-01-25 09:46:04 -0400
83c9d28526
Change URI to Path.
kj
2022-01-25 09:42:16 -0400
a303f28f88
- Change $notFoundCallBack to $notFoundCallback - Minor fixed on comments.
kj
2022-01-24 11:06:39 -0400
94f1857653
Change not found callback.
kj
2021-11-27 19:21:13 -0400
6fbf9a2a72
Change indentation.
kj
2021-10-21 23:34:49 -0400
790930771f
Add directories default estructure.
kj
2021-10-15 17:52:14 -0400
184d03a214
Fix error on undefined param.
kj
2021-10-15 17:41:47 -0400
e1fe93a04c
- Change middleware for accept any callable function as param. - $notFoundCallback now has a function as default value (the normal 404 page as before). - Change the way to manipulate the {pseudoVars} on uri, now it go into the same Neuron onject that "post", "get", and "json" and not more as separate params into the callback (the callback now only receive one param by default). - $notFoundCallback now receive the $req, as param.
kj
2021-10-15 17:23:20 -0400
68bc906ecf
Add default value for argument in Neuron constructor.
kj
2021-10-15 17:22:53 -0400
b8b1a1c8f9
Enable to use limit funtion on count function instead send limit directly.
kj
2021-09-11 20:02:23 -0400
182635bc9c
- Remove option for use non-optimized count. - Add option for limit count.
kj
2021-09-11 19:04:54 -0400
b80ab19d7e
Add option for use non-optimized count.
kj
2021-09-11 18:27:15 -0400
405cf1cb34
Fix count on not resetQuery.
kj
2021-08-14 17:46:14 -0400
8069fb28a1
Ignore orderby on count.
kj
2021-08-14 17:45:23 -0400
e3b97601e2
- Add option for reset query or not at get, getFirts, buildQuery and count - Add sql_calc_found_rows method. - Add found_rows method. - Improve count method usind sql_calc_found_rows and found_rows.
kj
2021-08-14 17:30:03 -0400
9785954870
Add SITE_URL constant.
kj
2021-07-10 15:53:48 -0400
e424139072
Remove unused use.
kj
2021-06-21 16:08:29 -0400
d23ecfbde6
Add a 404 custom controller option on Router.
kj
2021-03-25 12:02:50 -0400
8d418c8eb9
Change private functions to protected.
kj
2021-01-12 21:29:23 -0400
69c982b3e9
Fix join orden on query.
kj
2020-12-03 11:13:30 -0400
0613ecb373
Fix variable name in search method.
kj
2020-12-03 11:05:34 -0400
cbd59c217f
Added setNull method to ModelMysql.
kj
2020-10-24 04:47:39 -0400
831dd7ad47
Fix error on middleware set for DELETE method.
kj
2020-08-11 18:52:35 -0400
8a46d9a3c9
Fix error with join and PHP 7.4.
kj
2020-08-08 02:24:11 -0400
fe98d94692
Fix count when there is a "group by" in the query (do not delete actual select).
kj
2020-07-22 10:52:40 -0400
a7cb44a04b
Don't save undefined atributes.
kj
2020-07-22 10:25:51 -0400
5679bbf2c5
Don't save undefined atributes.
kj
2020-07-17 21:54:17 -0400
d04cd18c9a
another update to readme.md.
kj
2020-07-16 19:46:45 -0400
a219354417
add telegram link to readme.md
kj
2020-07-16 19:28:36 -0400
3c79ed1cbd
update readme.md
kj
2020-07-16 19:24:03 -0400
6c853b6d06
update readme.md
kj
2020-07-16 19:17:52 -0400
02c0dbef50
- Params renamed to Neuron - add path atribute to Router req - add viewPath param to View
kj
2020-06-11 06:25:41 -0400
3d18ede54d
Replaced tabs to spaces.
kj
2020-05-11 03:21:47 -0400
7aa5877492
Replaced tabs to spaces.
kj
2020-05-11 03:13:32 -0400
c9f6887d5b
Change protected attrs to static protected.
kj
2020-05-11 03:11:11 -0400
2ba6079f17
Fix typo error (again).
kj
2020-05-02 14:04:49 -0400
28ada2810d
fix typo error.
kj
2020-05-01 19:17:47 -0400
9d31dc1c24
Add '?>' to Router.php at end.
kj
2020-04-21 18:57:01 -0400
27fe81c634
change resetQuery to protected.
kj
2020-04-18 14:22:21 -0400
5d2612214d
Remove deprecated create_function and use ReflectionClass instead.
kj
2020-04-09 18:22:47 -0400
a2503adba2
Fix error when call non-static funtion 'getInstance' as static on ModelMysql.
kj
2020-04-09 17:39:45 -0400
a036d0e1be
Change to .
kj
2020-04-03 18:00:48 -0400
8f1c00ebdf
Allow where table1.colum=table2.colum on ModelMySQL.
kj
2020-03-27 10:47:00 -0400
2d377eb803
Allow change from on ModelMySQL.
kj
2020-03-27 10:25:40 -0400
f6c82c7a8c
Add inner join to ModelMySQL.
kj
2020-03-27 08:50:33 -0400
c929a3a454
Change self to static in ModelMysql.
kj
2020-03-24 19:37:39 -0400
682452efc1
Fix error in search method.
kj
2020-03-17 13:53:48 -0400
28880347a4
add comments to Libs.
kj
2020-03-17 13:46:16 -0400
23704b3fb6
remove unnecessary init.php.
kj
2020-03-17 13:45:38 -0400
cca5cb26ec
Improve Params.
kj
2020-03-17 09:20:58 -0400
b07333f3c8
Improve params.
kj
2020-03-16 22:54:12 -0400