5230cbf5d3c34ba4015e7fa45be019d275f3c595
Dropped old insert_id and insert_id_ext and only kepy insert_id_arr. Added insert_id_pk_name to get the inserted pk name. Insert RETURNING also works on non set pk name with RETURNING set Moved the get insert (RETURNING) into method so it can be called from both dbExec and dbExecute flow. Error code 31 is only thrown if no returning is set and insert flow cannot find a primary key for this table Update all old insert_id calls from other classes
PHP Core Library
Code Standard
- Uses PSR-12
- tab indent instead of 4 spaces indent
- Warning at 120 character length, error at 240 character length
General information
Base PHP class files to setup any project
- login
- database wrapper
- basic helper class for debugging and other features
- admin/frontend split
- domain controlled database/settings split
- dynamic layout groups
NOTE
There are three branches:
master
The active branch, which is the namespace branch
legacy
The old non namepsace format layout. This is fully deprecated and will no longer be maintaned. last tested PHP 5.6 and PHP 7.0
namespace
The new namespace branch. This is the development area for the master branch
Static checks
With phpstan
phpstan
With phan
phan --progress-bar -C --analyze-twice
pslam is setup but not configured
Languages
JavaScript
51.6%
PHP
42.3%
PLpgSQL
2.2%
CSS
1.6%
Smarty
0.7%
Other
1.6%