POG Plugins provide additional methods to your POG objects. POG plugins are meant to encapsulate code that can be reused across different projects. As you move on to different projects over time, you can download, reuse or create your own plugins depending on your need for your current project.

Thus, POG plugins allow developers to pick and choose additional functionality for their objects, without forcing them to download entire frameworks or libraries. This should keep your project moving fast, without sacrificing flexibility.

Browse plugins
Upload Plugin
GetCount (PHP 4,MySQL 4)
by Joel

Returns the number of records/objects in a particular table. Accepts a set of field-condition-value argument similar to GetList()
Download
LoadChildren (PHP 4,MySQL 4)
by Joel

Loads all children object instances into the internal arrays of a parent object. This method is more efficient and convenient than calling GetChildrenList for all child objects.
Download
GetSingle (PHP 4,MySQL 4)
by Joel

Returns a single object for a particular set of field-condition-value arguments. If the query returns multiple results, only the first is returned as an object.
Download
FindLikeMe (PHP 5,MySQL 4)
by Mark Slemko

Version 0.2: Plugin class to do Query-By-Example from the S.O.D.A. - Simple Object Database Access Fill in a portion or all of the object and call FindLikeMe() and it will return a list of objects that contain the same data that is filled in.
Download
Search (PHP 5,MySQL 4)
by Joel Wan

Enables Full Text Search on POG Objects. Enable Full Text Search in Setup, then simply do $object->Search('text'). Method returns a list of all objects based on relevance
Download
GetJSON (PHP 5.1,MySQL 4)
by Brice Burgess

GetJSON Returns a JSON string representing the array of objects returned by a GetList- style call. Use the [optional] SetJSON plugin to customize returned attributes and format. NOTE: Passed parameters behave in the same manner as $POGobject->GetList(...) NOTE: Requires PHP5 with json_decode [see extension json.so]
Download
SetJSON (PHP 5.1,MySQL 4)
by Brice Burgess

SetJSON Enables the ability to specify which attributes are returned a GetJSON plugin call and to set the return format (return key/value pair, or just value). NOTE: Attribute values are returned in the exact order specified in your attributeNames array. This allows for a reliable and smaller JSON response when coulped with a $includeAttributeName parameter set to false. NOTE: Be sure to specify the __class__Id Attribute in your attributeNames array if you would like it (the primary key) included in the JSON result.
Download