Commit Graph

20 Commits

Author SHA1 Message Date
Mafoo bc26ecf6ae Enhance - better reasons for 403 in orm class (#2659)
update return message when code 403 to also state the permission that failed
2017-06-09 20:03:22 -06:00
FusionPBX 73cf433e05 Update orm.php
Escape single quotes in the data.
2016-10-05 09:55:02 -06:00
FusionPBX 593cbad8a2 Update orm.php
The change from fetch to fetchAll created the need for this change.
2016-10-04 03:49:32 -06:00
FusionPBX 8521f5100c Update orm.php
Change the function fetch to fetchAll. Fetch returns a 2 dimensional array and fetchAll returns a 3 dimensional array. which changes the array structure so it works better with count.
2016-10-03 21:33:20 -06:00
FusionPBX 598e36f0cf Update orm.php 2016-10-01 21:55:02 -06:00
FusionPBX 6db3a26c2d Update orm.php 2016-09-30 19:54:40 -06:00
FusionPBX 37f4099632 Update orm.php 2016-09-28 16:42:42 -06:00
FusionPBX dd254979f3 Update orm.php
Updated code to be more robust and handle more situations such as primary key and child key in the array but doesn't exist in the database.
2016-09-18 15:27:40 -06:00
FusionPBX dfb9dc0664 Update orm.php
Reset the parent_key_exists to default of false.
2016-07-15 12:13:45 -06:00
FusionPBX 28215c455e Update orm.php
Remove some debug code.
2016-07-14 01:08:14 -06:00
FusionPBX d46f758000 Update orm.php
Make this code more resilient in case the primary key or sub table primary key was provided in the data.
2016-07-14 01:06:04 -06:00
Harry G. Coin 4fad23f4aa small orm bug fix 2016-04-25 21:12:39 -05:00
mafoo 1726744f4e WhitespaceClean-resources/classes
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
Mark Crane 55c612a50c Unset the prepared statement in the ORM class after the sql query has been executed 2014-07-23 20:11:05 +00:00
Mark Crane 3ada63faec Remove two includes that are no longer needed 2014-05-01 02:32:54 +00:00
Mark Crane 49d710246f Make the sql statements a little more efficient. 2014-02-11 02:04:38 +00:00
Mark Crane f2dcc5028c Return the primary key uuid when adding a new record. 2014-02-09 09:24:41 +00:00
Philippe Rioual ee51bea37e fixed some french translations issues 2014-01-23 21:15:49 +00:00
Nuno Miguel Reis 0ecedb07de added missing references 2014-01-21 04:33:54 +00:00
Mark Crane 1a7c685e60 Add a new object relational model class and make the dialplan edit use for add and edit. 2014-01-19 13:09:17 +00:00