14 Commits
Author SHA1 Message Date
Michael Richey c32baff933 Update e_Interpretation.php 2020-08-13 09:02:14 -05:00
Michael Richey 3c5928caa9 Update e_Interpretation.php
When field default is DATETIME or CURRENT_TIMESTAMP, the SQL is constructed out of order.  The default gets inserted before the NULL/NOT NULL string.  One line fix - YAY!
2020-08-13 08:53:57 -05:00
Michael Richey 9a6ad66e32 Fixed context 2017-12-03 19:53:05 -06:00
Michael Richey 102ed837c2 automatic context based on available vars 2017-12-03 19:43:45 -06:00
Michael Richey b10b019494 Implement onContentPrepare 2017-12-03 19:24:53 -06:00
Michael Richey cc9a0e9c4c I missed a parameter 2017-12-03 18:50:21 -06:00
Michael Richey f19a279b16 revert to string search
to allow for malformed xml input
2017-12-03 16:13:36 -06:00
Michael Richey 2661b62929 Revenge of Pretty Print
This time it's personal

Also, documented new functions
2017-12-03 13:12:56 -06:00
Michael Richey 07051d0955 pretty print
I've got pretty print much closer, but I haven't yet been able to produce it with a starting indent level.  The alternative is to run the file xml output through the pretty printer before writing the file.
2017-12-03 11:47:48 -06:00
Michael Richey 8f3d573202 Code Formatting
Small things are killing me.....  some concatenation is wrapped in spaces, some isn't....  Some functions start braces on the 2nd line, some don't

I think this is the last one
2017-12-03 11:12:18 -06:00
Michael Richey ca4919f0f3 Code Formatting 2017-12-03 11:09:39 -06:00
Michael Richey c1675dbd30 Code formatting 2017-12-03 11:08:01 -06:00
Michael Richey 55afca91a2 String Manipulation to SimpleXML and DOMDocument
I removed the string manipulation in favor of something more development friendly.  The drawback is that the resulting XML is not as pretty, although I did run the processed fields through DOMDocument pretty printer.  The entire resultant XML could be run through a pretty printer, but still won't achieve the tab indented node attributes.

The entire process could be made much more efficient, but this was just an initial conversion.
2017-12-03 02:02:11 -06:00
Michael Richey 9760ac86a3 Prevent getItem from clearing $item->params
Additional check added to params test to ensure that if parent::getItem values are not removed if present.
2017-11-24 01:22:17 -06:00