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
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()
by Joel
Returns the number of records/objects in a particular table. Accepts a set of field-condition-value argument similar to GetList()
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.
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.
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.
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.
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.
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.
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
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
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.
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.
GetFilter (PHP 4,MySQL 4)
by Brice Burgess
A memory efficient version of GetList indended to specify the order of attributes in a return, limit which attributes are returned, and/or to return only attribute values.
Use the SetFilter plugin to specify returned attributes and format.
by Brice Burgess
A memory efficient version of GetList indended to specify the order of attributes in a return, limit which attributes are returned, and/or to return only attribute values.
Use the SetFilter plugin to specify returned attributes and format.
SetFilter (PHP 4,MySQL 4)
by Brice Burgess
Specify the attributes returned by GetFilter and GetJSON plugin calls, as well as the return format (key/value pair, or just value) and order.
by Brice Burgess
Specify the attributes returned by GetFilter and GetJSON plugin calls, as well as the return format (key/value pair, or just value) and order.
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]
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]
GetAll (PHP 5.1,MySQL 4)
by droope
Improves and extends GetList, thus allowing to create queries with different operators.
by droope
Improves and extends GetList, thus allowing to create queries with different operators.