xPDO Object-relational bridge library using database persistence and Active Record pattern. Read more about xPDO
Initialize Schema From Within a Parent Class A simple mechanism which can be used to initialize the database schema from within the main package class file. Read more about Initialize Schema From Within a Parent Class
Creating write-protected xPDOObjects Data retrieved from API's or database tables filled with read-only data may need protection from being altered, deleted, or overwritten. The following offers a technique to block all saves to the database. Read more about Creating write-protected xPDOObjects
Sample Class for use with xPDO This class is a foundational class which can be used to create any number of MODX Revolution applications based on xPDO. Read more about Sample Class for use with xPDO
xPDO quick displays of database table Class functions which directly access xPDO's class definition to create table headers and values for table datum. Read more about xPDO quick displays of database table
Working with PHP's DateTime for Periods of Time Building a tool-set to tackle the DateTime conundrum of retrieving all the transactions which occur during a specified time period. Read more about Working with PHP's DateTime for Periods of Time
sanitizeObject This is a quick function which returns a key=>value array of designated object fields while removing those to be kept from the presentation. Read more about sanitizeObject
xPDOObject Class Dump Provides a straightforward presentation of an xPDO\Om\xPDOObject derived class and its relationships. Read more about xPDOObject Class Dump
collectionToJSON Simple function to convert an xPDO collection to JSON arrays Read more about collectionToJSON
collectionToArrays Simple reusable function to convert a collection into an array of arrays Read more about collectionToArrays