This document has no copyright protection whatsoever and you are free to do as you please with it. I don't take any responsibility for anything you do with this information though.
The groupoffice ActiveRecord.php is a custom implementation of the [active record pattern][1] commonly used for database access from web applications. The system can seem complex and daunting at first, but as you get to know it you will find the time-saving features very helpful.
I may extend this to be a tutorial of the whole of groupoffice eventually.
This tutorial assumes you have a basic understanding of the groupoffice class autoloader and router. I give a quick recap below: