Mafoo
4f4baf136b
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
d98bac68a6
Update orm.php
...
Escape single quotes in the data.
2016-10-05 09:55:02 -06:00
FusionPBX
c7d9231788
Update orm.php
...
The change from fetch to fetchAll created the need for this change.
2016-10-04 03:49:32 -06:00
FusionPBX
bcb7881255
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
d020eeecec
Update orm.php
2016-10-01 21:55:02 -06:00
FusionPBX
8db7cba83e
Update orm.php
2016-09-30 19:54:40 -06:00
FusionPBX
a23c2a957a
Update orm.php
2016-09-28 16:42:42 -06:00
FusionPBX
d190f6a30d
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
dd2e18fbdd
Update orm.php
...
Reset the parent_key_exists to default of false.
2016-07-15 12:13:45 -06:00
FusionPBX
7996e33e4b
Update orm.php
...
Remove some debug code.
2016-07-14 01:08:14 -06:00
FusionPBX
f806e0297c
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
1497c7cb7e
small orm bug fix
2016-04-25 21:12:39 -05:00
mafoo
e0fdf41320
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
a74cd36793
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
e1ca4951d3
Remove two includes that are no longer needed
2014-05-01 02:32:54 +00:00
Mark Crane
b8f5e54032
Make the sql statements a little more efficient.
2014-02-11 02:04:38 +00:00
Mark Crane
ecd8616fa1
Return the primary key uuid when adding a new record.
2014-02-09 09:24:41 +00:00
Philippe Rioual
72b80314e2
fixed some french translations issues
2014-01-23 21:15:49 +00:00
Nuno Miguel Reis
b581096c2f
added missing references
2014-01-21 04:33:54 +00:00
Mark Crane
be442661c9
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