Dr. W. Shawn Wilkerson

Results 33 comments of Dr. W. Shawn Wilkerson

Catastrophic is an overstatement, I admit. From an API developer standpoint having the output data types closest to the raw data is the best -- especially as databases have a...

It is far too easy to simply do this in the generated class file. ``` php $Object->get FullName(){ return $this->get('first_name') . ' ' . $this->get('last_name); } ```

rtripault, I use that technique to hand off status flags without wasting table space on a process which is over in a thousandths of a second. The interesting thing is...

Your code: `$result = $modx->getObjectGraph('prefixStudent', $dataGraph, $uid) ->RoomStudent->Room->substRoomTeacher->Teacher;` My first thought was that you are attempting to use a compound relation where it may not be supported. You may also...

This has been present for years. I typically wrap my INs to ensure there is at least one item. The code at line 164 (edited) ``` if (in_array(strtoupper($operator), array('IN', 'NOT...

My guess is that it would fix the problem if the core was changed to do a quick sanity check. I do the tests in my applications. If the count...

My first thought would be a SimpleXMLElement Object with array items keyed as Item /Item. I am thinking the entire object should easily be transferable to and from a SimpleXMLElement...

Your best bet is to build it yourself. Clone the repo and run phpdocumentor on it.

That is not a fix. You are actually accessing the Database Management system's internal database - not your table. I use the following function to create the tables: ``` /**...

Not sure there is any significance to this, where an IN or NOT IN can be used in the current xPDO.