Inheritance diagram for BaseObject:
A class that simplifies loading, editing, deleting, and saving of an object linked to a mysql database. Also provides hooks for API data, and easy rss creation. Plus, easy integration with comments and tags.
Definition at line 13 of file base-object.inc.php.
Public Member Functions | |
__construct ($data, $tableName) | |
Creates a new BaseObject. | |
__destruct () | |
handle all our stuff after we clean up our object | |
__toString () | |
This function translates the object to a string. | |
__get ($name) | |
This function is for getting at the various data internal to the object. | |
__set ($name, $value) | |
Function to set data values for the object. | |
initJSONPage () | |
This function initializes the json page. | |
drawJSONPage () | |
this function draws the json data. | |
initPHPPage () | |
this function initializes the php serialized() data page. | |
drawPHPPage () | |
this function draws teh object data as serialized php | |
initXMLPage () | |
this function initializes the xml serialized() data page. | |
drawXMLPage () | |
this function draws teh object data as serialized xml | |
getPublicData () | |
This function gets an array of publicly available data for the object. | |
getRssItem () | |
this function generates the rss item for each base object. | |
load ($data, $deep=true) | |
This function handles loading the data into the object. | |
threadFactory () | |
This function creates our thread. | |
tagFactory () | |
This function creates our tags class. | |
addPrivacyField () | |
This function adds a privacy field to your edit form. | |
save () | |
This function handles saving the object. | |
lookupCommentCount () | |
lookup our comment count information | |
clean () | |
This function handles any validation/cleaning of our data. | |
cleanField ($field) | |
Clean a field's data. | |
isDirty () | |
Tells us if the object is dirty or not. | |
delete () | |
This function handles deleting our object. | |
drawEditPage () | |
This function does all the stuff we need to be done on the logic page. | |
lookupLatLon () | |
If your object has city, state, zip, and street fields, and also lat and lon fields, this function will automatically look these up using Yahoo's geocoding API. | |
drawViewPage ($ignore=array()) | |
This function handles the view/detail page. | |
drawDeletePage ($preText=null, $button=null, $postText=null, $isUrl=true) | |
This function handles all the delete page stuff. | |
canEdit () | |
This function determines if we can edit the object. | |
canDelete () | |
This function determines if we can delete the object. | |
drawHeaderRow () | |
this function draws a header row for searches. | |
getName ($link=false, $text= '') | |
Get the name of an object... | |
drawRow () | |
Called by an objectmanager to draw the row for the object. | |
getAutoCompleteRow () | |
get a element suitable for use with the Ajax.Autocompleter from del.icio.us | |
getCommentsLink () | |
get a link to the object's comment thread | |
drawHeaderLine () | |
called by object manager to draw the header line for a bunch of objects. | |
drawLine () | |
called by object manager to draw one line of info about the object. | |
drawPostedOwner () | |
A shortcut function that draws basic info about the owner and when it was posted/updated. | |
getPagesXml () | |
This function gets the page xml for the object. | |
canView () | |
This function determines if a user can view the object or not. | |
setData ($data, $ignore=null) | |
This function sets all the data for the object. | |
loadDirtyData ($data) | |
load some 'dirty' data... | |
getDbFields () | |
this function gets an array of information on the fields... | |
checkTable ($skip=array()) | |
This function checks our table to make sure it exists. | |
isAdmin () | |
This function determines admin status. | |
hasField ($key) | |
This function tells you if an object has a field or not. | |
getCreateTableSql () | |
this function gets teh create table syntax. | |
getCreateFieldsArray () | |
get an array of fields for our object table. | |
getCreateIndexesArray () | |
get an array of keys for our object table. | |
getCacheKey ($id=null) | |
this function creates our key to use with caching. | |
getCache () | |
this function gets our data from the cache. | |
setCache () | |
this function saves our data to the cache. | |
deleteCache () | |
this funciton deletes our data from teh cache. | |
Public Attributes | |
$tableName | |
Private. | |
$creator | |
this is our creator object... | |
$comments | |
public. | |
$commentsEnabled = false | |
public. | |
$useLatLng = false | |
public. | |
$useObjectCaching = false | |
public. | |
$useTags = false | |
public. | |
$tags | |
public our tags object | |
$hasAuthor = true | |
public. | |
$fullTextFields = array() | |
an array of fields to include in the fulltext index. | |
$likeFields = array() | |
an array of fields to use on LIKE queries. | |
Static Public Attributes | |
$objectCacheLife = 3000000 | |
how long we cache the object data in seconds. | |
Protected Member Functions | |
initEditPage ($title=null, $data=null) | |
This function initializes the edit page. | |
initDeletePage ($title=null) | |
This function initializes the delete page. | |
initViewPage ($title=null) | |
This function initializes the view page. | |
loadData ($id, $deep=true) | |
load our objects data. | |
lookupData ($deep=true) | |
get our data from the db. | |
loadCacheData ($deep=true) | |
load data from cache | |
getViewPageXml () | |
this function gets the view page xml. | |
getDeletePageXml () | |
this function gets the delete page xml. | |
getJSONPageXml () | |
this function gets the json page xml. | |
getPHPPageXml () | |
this function gets the php page xml. | |
getXMLPageXml () | |
this function gets the xml page xml. | |
getEditPageXml () | |
this function gets the edit page xml. | |
getEditPageParamXml () | |
this gets all the parameters for the edit page. | |
getData ($useDb=true) | |
This function gets an associative array of the object's members most commonly this will be from a db, but you never know. | |
saveData () | |
This function handles saving the data to wherever. | |
editFormInit () | |
This function sets up the form and such. | |
editFormCreate () | |
This function creates the edit form object... | |
editFormAddFields ($form) | |
This function adds the fields to the edit form. | |
editPageLogic () | |
This function handles the logic of the edit page. | |
editFormValidate ($form) | |
This is where you put any validation code. | |
editFormLoad ($form) | |
This function loads our data from the object into the form. | |
editPagePostSaveSync ($form) | |
This function saves our data after a post and sync's with the object. | |
editPagePostSuccess ($form) | |
This function is called on a successful post. | |
editFormDraw ($form) | |
This function draws the form. | |
deleteForm ($body=null, $button=null) | |
This function draws the delete form. | |
deletePost ($body=null, $isUrl=true) | |
This function handles the delete page post. | |
getDataToCache ($deep=true) | |
this is the funciton that gets the data we need saved to cache. | |
setDataFromCache ($data, $deep=true) | |
this function sets the data in the object from the data we retrieved from the cache. | |
Protected Attributes | |
$data = array() | |
Protected. | |
Private Member Functions | |
getDbData () | |
This function gets all the member information from a database. | |
saveDb () | |
This function saves the object back to the database. | |
deleteDb () | |
This function deletes the object from the database. | |
Private Attributes | |
$dirtyFields = array() | |
Private. | |
$internalId | |
The id that references the table. |
|
Creates a new BaseObject.
Reimplemented in BaseAlert, BaseComment, BaseForumThread, BaseForum, BaseInvitation, BaseRPSGame, BaseUserAction, and BaseUser. Definition at line 101 of file base-object.inc.php. References checkTable(), and load(). |
|
handle all our stuff after we clean up our object
Definition at line 126 of file base-object.inc.php. |
|
This function is for getting at the various data internal to the object.
Definition at line 144 of file base-object.inc.php. References hasField(). |
|
Function to set data values for the object.
Definition at line 159 of file base-object.inc.php. References BaseModule::__construct(), and hasField(). |
|
This function translates the object to a string.
Definition at line 134 of file base-object.inc.php. References getName(). Referenced by initEditPage(). |
|
This function adds a privacy field to your edit form. Does nothing by default. Override if necessary. Definition at line 535 of file base-object.inc.php. |
|
This function determines if we can delete the object.
Reimplemented in BaseAlert, BaseForumThread, BaseForum, BaseInvitation, BaseRPSGame, and BaseUser. Definition at line 732 of file base-object.inc.php. Referenced by BaseEvent::canUnInvite(), BaseComment::drawCommentDetails(), BaseImage::drawViewNav(), BaseImage::drawViewPage(), getPublicData(), and initDeletePage(). |
|
This function determines if we can edit the object.
Reimplemented in BaseForumThread, BaseForum, BaseMessage, BaseRPSGame, and BaseUser. Definition at line 714 of file base-object.inc.php. Referenced by BaseEvent::canInvite(), BaseComment::drawCommentDetails(), BaseImage::drawViewNav(), BaseImage::drawViewPage(), getPublicData(), and initEditPage(). |
|
This function determines if a user can view the object or not.
Reimplemented in BaseAlert, BaseForumThread, BaseForum, BaseInvitation, BaseMessage, BaseRPSGame, and BaseUserAction. Definition at line 966 of file base-object.inc.php. Referenced by BaseEvent::canAttend(), BaseComment::drawComment(), getPublicData(), and initViewPage(). |
|
This function checks our table to make sure it exists.
Definition at line 1373 of file base-object.inc.php. References BaseModule::addStatus(), and BaseJumper::dbHasTable(). Referenced by __construct(). |
|
This function handles any validation/cleaning of our data.
Definition at line 585 of file base-object.inc.php. References cleanField(). Referenced by save(). |
|
Clean a field's data. called from clean()
Definition at line 596 of file base-object.inc.php. Referenced by clean(). |
|
This function handles deleting our object.
Reimplemented in BaseComment, BaseEvent, BaseForumThread, BaseImage, and BaseMessage. Definition at line 614 of file base-object.inc.php. References deleteCache(), and deleteDb(). |
|
this funciton deletes our data from teh cache. no need to override Definition at line 1593 of file base-object.inc.php. References CacheBot::delete(). |
|
This function deletes the object from the database.
Definition at line 1125 of file base-object.inc.php. References dbExecute(). Referenced by delete(). |
|
This function draws the delete form.
Definition at line 1331 of file base-object.inc.php. Referenced by drawDeletePage(). |
|
This function handles the delete page post. It deletes the object then either shows the result or redirects.
Definition at line 1355 of file base-object.inc.php. References Util::redirect(). Referenced by drawDeletePage(). |
|
This function handles all the delete page stuff. Shows the page and handles the post.
Definition at line 702 of file base-object.inc.php. References deleteForm(), and deletePost(). |
|
This function does all the stuff we need to be done on the logic page.
Definition at line 637 of file base-object.inc.php. References editPageLogic(). |
|
called by object manager to draw the header line for a bunch of objects.
Definition at line 813 of file base-object.inc.php. |
|
this function draws a header row for searches. by default doesnt do anything. Reimplemented in BaseForumThread. Definition at line 745 of file base-object.inc.php. |
|
this function draws the json data.
Definition at line 278 of file base-object.inc.php. References JSON::encode(). |
|
called by object manager to draw one line of info about the object. you'll need to override. Reimplemented in BaseAlert, BaseEvent, and BaseInvitation. Definition at line 821 of file base-object.inc.php. |
|
this function draws teh object data as serialized php
Definition at line 296 of file base-object.inc.php. |
|
A shortcut function that draws basic info about the owner and when it was posted/updated.
Definition at line 828 of file base-object.inc.php. |
|
Called by an objectmanager to draw the row for the object. Does some default stuff... but you'll most likely want to override it. Reimplemented in BaseAlert, BaseForumThread, BaseForum, BaseImage, BaseInvitation, and BaseUserAction. Definition at line 773 of file base-object.inc.php. References Time::formatRelative(), getCommentsLink(), and getName(). |
|
This function handles the view/detail page. It prints out each field line by line. You'll prolly want to override this guy =)
Definition at line 679 of file base-object.inc.php. |
|
this function draws teh object data as serialized xml
Definition at line 314 of file base-object.inc.php. References $data, and getPublicData(). |
|
This function adds the fields to the edit form. Override this if you want access.
Reimplemented in BaseComment, BaseEvent, BaseForumThread, BaseForum, BaseGroup, BaseImage, BaseMessage, and BaseUser. Definition at line 1176 of file base-object.inc.php. Referenced by editFormInit(). |
|
This function creates the edit form object... with no fields.
Definition at line 1162 of file base-object.inc.php. References BaseModule::getUrl(). Referenced by editFormInit(). |
|
This function draws the form.
Definition at line 1320 of file base-object.inc.php. Referenced by editPageLogic(). |
|
This function sets up the form and such. By default it creates a basic form based on your table.
Definition at line 1146 of file base-object.inc.php. References editFormAddFields(), and editFormCreate(). Referenced by editPageLogic(). |
|
This function loads our data from the object into the form.
Reimplemented in BaseEvent, and BaseMessage. Definition at line 1227 of file base-object.inc.php. Referenced by editPageLogic(). |
|
This is where you put any validation code.
Reimplemented in BaseUser. Definition at line 1216 of file base-object.inc.php. Referenced by editPageLogic(). |
|
This function handles the logic of the edit page.
Definition at line 1183 of file base-object.inc.php. References editFormDraw(), editFormInit(), editFormLoad(), editFormValidate(), editPagePostSaveSync(), and editPagePostSuccess(). Referenced by drawEditPage(). |
|
This function saves our data after a post and sync's with the object.
Reimplemented in BaseImage, BaseMessage, and BaseUser. Definition at line 1267 of file base-object.inc.php. References getDbFields(), hasField(), lookupLatLon(), and save(). Referenced by editPageLogic(). |
|
This function is called on a successful post. It saves the object then redirects you back to the homepage. Reimplemented in BaseComment, BaseEvent, and BaseGroup. Definition at line 1310 of file base-object.inc.php. References Util::redirect(). Referenced by editPageLogic(). |
|
get a element suitable for use with the Ajax.Autocompleter from del.icio.us
Definition at line 792 of file base-object.inc.php. References getName(). |
|
this function gets our data from the cache. no need to override Definition at line 1577 of file base-object.inc.php. References CacheBot::get(). Referenced by loadCacheData(). |
|
this function creates our key to use with caching. no need to override
Definition at line 1488 of file base-object.inc.php. |
|
get a link to the object's comment thread usually threads are on the view page, and they have an anchor of "comments" from BaseThread. It will also pluralize the comments word
Definition at line 805 of file base-object.inc.php. References BaseModule::getLink(). Referenced by drawRow(). |
|
get an array of fields for our object table. extend this to add fields to the table. or remove fields from table
Reimplemented in BaseAlert, BaseComment, BaseEvent, BaseForumThread, BaseForum, BaseGroup, BaseImage, BaseInvitation, BaseMessage, BaseRPSGame, BaseUserAction, and BaseUser. Definition at line 1434 of file base-object.inc.php. |
|
get an array of keys for our object table. extend this to add keys to the table. or remove keys from table
Reimplemented in BaseAlert, BaseComment, BaseEvent, BaseForumThread, BaseImage, BaseInvitation, BaseMessage, BaseRPSGame, BaseUserAction, and BaseUser. Definition at line 1467 of file base-object.inc.php. |
|
this function gets teh create table syntax.
Reimplemented from BaseModule. Reimplemented in BaseGroup. Definition at line 1416 of file base-object.inc.php. |
|
This function gets an associative array of the object's members most commonly this will be from a db, but you never know.
Definition at line 980 of file base-object.inc.php. References $data, and getDbData(). Referenced by lookupData(). |
|
this is the funciton that gets the data we need saved to cache. by default it saves our data, and will save the comments or tags objects if needed. its recommended to extend this to add data that you'd like cached by the object
Reimplemented in BaseForumThread, BaseRPSGame, and BaseUser. Definition at line 1504 of file base-object.inc.php. References $data. Referenced by setCache(). |
|
This function gets all the member information from a database.
Definition at line 1045 of file base-object.inc.php. References dbFetchAssoc(), and dbQuery(). Referenced by getData(). |
|
this function gets an array of information on the fields... useful for automatic stuff.
Definition at line 1257 of file base-object.inc.php. References BaseJumper::getDbTable(). Referenced by editPagePostSaveSync(), loadDirtyData(), and saveDb(). |
|
this function gets the delete page xml.
Reimplemented in BaseRPSGame, and BaseUserAction. Definition at line 875 of file base-object.inc.php. Referenced by getPagesXml(). |
|
this gets all the parameters for the edit page.
Reimplemented in BaseComment, BaseEvent, and BaseMessage. Definition at line 946 of file base-object.inc.php. Referenced by getEditPageXml(). |
|
this function gets the edit page xml.
Reimplemented in BaseAlert, BaseInvitation, BaseRPSGame, and BaseUserAction. Definition at line 931 of file base-object.inc.php. References getEditPageParamXml(). Referenced by getPagesXml(). |
|
this function gets the json page xml.
Definition at line 889 of file base-object.inc.php. Referenced by getPagesXml(). |
|
Get the name of an object... used by base-user, and many other things as a shortcut for drawing the view link or just the name
Reimplemented in BaseUser. Definition at line 758 of file base-object.inc.php. References BaseModule::getLink(). Referenced by __toString(), drawRow(), getAutoCompleteRow(), and initViewPage(). |
|
This function gets the page xml for the object. Adds edit, delete, view, json, and php. Override to customize.
Reimplemented from BaseModule. Reimplemented in BaseEvent, BaseForum, BaseGroup, BaseImage, BaseInvitation, BaseRPSGame, BaseUserAction, and BaseUser. Definition at line 842 of file base-object.inc.php. References getDeletePageXml(), getEditPageXml(), getJSONPageXml(), getPHPPageXml(), getViewPageXml(), and getXMLPageXml(). |
|
this function gets the php page xml.
Definition at line 903 of file base-object.inc.php. Referenced by getPagesXml(). |
|
This function gets an array of publicly available data for the object. it is used by json, php, and other pages that export data.
Reimplemented in BaseAlert, BaseComment, BaseEvent, BaseForumThread, BaseForum, BaseGroup, BaseImage, BaseMessage, BaseUserAction, and BaseUser. Definition at line 338 of file base-object.inc.php. References $data, canDelete(), canEdit(), canView(), BaseModule::getUrl(), and hasField(). Referenced by drawXMLPage(). |
|
this function generates the rss item for each base object. you'll need to override this to implement rss feeds for your objects.
Reimplemented in BaseAlert, BaseComment, BaseEvent, BaseForumThread, BaseForum, BaseGroup, BaseImage, BaseMessage, and BaseUserAction. Definition at line 390 of file base-object.inc.php. References Config::get(), and BaseModule::getUrl(). |
|
this function gets the view page xml.
Definition at line 861 of file base-object.inc.php. Referenced by getPagesXml(). |
|
this function gets the xml page xml.
Definition at line 917 of file base-object.inc.php. Referenced by getPagesXml(). |
|
This function tells you if an object has a field or not.
Definition at line 1403 of file base-object.inc.php. References BaseJumper::tableHasField(). Referenced by __get(), __set(), BaseUser::createSession(), BaseUser::drawEditPassPage(), BaseUser::editFormAddFields(), BaseUser::editPagePostSaveSync(), editPagePostSaveSync(), BaseUser::emailPrefsFormAddFields(), BaseUser::getName(), getPublicData(), BaseImage::getPublicData(), BaseComment::getRssItem(), lookupCommentCount(), BaseUser::registerFormAddFields(), and setData(). |
|
This function initializes the delete page.
Definition at line 224 of file base-object.inc.php. References canDelete(), and BaseModule::params(). Referenced by BaseUser::initDeleteMePage(). |
|
This function initializes the edit page.
Definition at line 197 of file base-object.inc.php. References $data, __toString(), canEdit(), BaseModule::params(), and tagFactory(). |
|
This function initializes the json page.
Definition at line 266 of file base-object.inc.php. References initViewPage(), and BaseModule::setTemplate(). |
|
this function initializes the php serialized() data page.
Definition at line 286 of file base-object.inc.php. References initViewPage(), and BaseModule::setTemplate(). |
|
This function initializes the view page.
Definition at line 242 of file base-object.inc.php. References canView(), getName(), BaseModule::needsJs(), and BaseModule::params(). Referenced by initJSONPage(), initPHPPage(), and initXMLPage(). |
|
this function initializes the xml serialized() data page.
Definition at line 304 of file base-object.inc.php. References initViewPage(), and BaseModule::setTemplate(). |
|
This function determines admin status.
Reimplemented in BaseUser. Definition at line 1390 of file base-object.inc.php. |
|
Tells us if the object is dirty or not. Used to determine if we clean and/or if we need to save. Definition at line 604 of file base-object.inc.php. Referenced by save(). |
|
This function handles loading the data into the object.
Reimplemented in BaseImage. Definition at line 417 of file base-object.inc.php. References loadData(), and setDataFromCache(). Referenced by __construct(), and loadCacheData(). |
|
load data from cache will be removed in v2.2. Definition at line 490 of file base-object.inc.php. References $data, getCache(), and load(). Referenced by loadData(). |
|
load our objects data. this will be changed around in v2.2
Definition at line 433 of file base-object.inc.php. References loadCacheData(), lookupData(), setCache(), tagFactory(), and threadFactory(). Referenced by load(). |
|
load some 'dirty' data... that is data that is potentially not the same data and should thusly be saved eventually.
Definition at line 1239 of file base-object.inc.php. References $data, and getDbFields(). |
|
lookup our comment count information
Definition at line 571 of file base-object.inc.php. References hasField(). Referenced by save(). |
|
get our data from the db.
Reimplemented in BaseForumThread, BaseRPSGame, and BaseUser. Definition at line 465 of file base-object.inc.php. References $data, and getData(). Referenced by loadData(). |
|
If your object has city, state, zip, and street fields, and also lat and lon fields, this function will automatically look these up using Yahoo's geocoding API.
Definition at line 647 of file base-object.inc.php. Referenced by editPagePostSaveSync(). |
|
This function handles saving the object.
Reimplemented in BaseComment, BaseForumThread, and BaseForum. Definition at line 544 of file base-object.inc.php. References $data, clean(), deleteCache(), isDirty(), lookupCommentCount(), and saveData(). Referenced by BaseUser::createSession(), BaseRPSGame::drawChallengePage(), BaseUserAction::drawDoActionPage(), BaseUser::drawEditPassPage(), BaseUserAction::drawMessagePage(), BaseRPSGame::drawTauntPage(), editPagePostSaveSync(), BaseRPSGame::initDefendPage(), BaseImage::prepFile(), BaseUser::requestPassReset(), BaseImage::resize(), BaseUser::saveEmailPrefs(), BaseInvitation::saveInvite(), BaseUser::sendActivationEmail(), and BaseUser::setProfileImage(). |
|
This function handles saving the data to wherever.
Definition at line 1035 of file base-object.inc.php. References saveDb(). Referenced by save(). |
|
This function saves the object back to the database. It is a bit trickier. It will smartly insert or update depending on if there is an id or not. It also only saves the properties of the object that are named the same as the table fields, all automatically. Definition at line 1069 of file base-object.inc.php. References dbExecute(), and getDbFields(). Referenced by saveData(). |
|
this function saves our data to the cache. no need to override Definition at line 1585 of file base-object.inc.php. References getDataToCache(), and CacheBot::set(). Referenced by loadData(). |
|
This function sets all the data for the object.
Definition at line 1001 of file base-object.inc.php. References hasField(). |
|
this function sets the data in the object from the data we retrieved from the cache. it takes the data from the array and puts it in the object. you'll want to override this one if you added custome data in getDataToCache() and load it into the object.
Reimplemented in BaseForumThread, BaseRPSGame, and BaseUser. Definition at line 1543 of file base-object.inc.php. References $data. Referenced by load(). |
|
This function creates our tags class. You may want to manually create your own. Definition at line 524 of file base-object.inc.php. Referenced by initEditPage(), and loadData(). |
|
This function creates our thread. You may want to manually create your thread.
Definition at line 513 of file base-object.inc.php. Referenced by loadData(). |
|
public. BaseThread extended object that is used for comments. Definition at line 39 of file base-object.inc.php. |
|
public. Boolean that tells us if we are using comments or not. Definition at line 44 of file base-object.inc.php. |
|
this is our creator object... the user that owns us. Definition at line 34 of file base-object.inc.php. |
|
Protected. Internal data array Definition at line 29 of file base-object.inc.php. Referenced by drawXMLPage(), getData(), getDataToCache(), getPublicData(), initEditPage(), loadCacheData(), loadDirtyData(), lookupData(), save(), and setDataFromCache(). |
|
Private. Array of fields that are dirty. Definition at line 24 of file base-object.inc.php. |
|
an array of fields to include in the fulltext index.
Definition at line 84 of file base-object.inc.php. |
|
public. Boolean of whether the classes has a user_id field for the author. Definition at line 69 of file base-object.inc.php. |
|
The id that references the table.
Definition at line 74 of file base-object.inc.php. |
|
an array of fields to use on LIKE queries.
Definition at line 91 of file base-object.inc.php. |
|
how long we cache the object data in seconds. defaults to a bit over a month (3 million seconds) Definition at line 79 of file base-object.inc.php. |
|
Private. The name of the database table its linked to. Definition at line 19 of file base-object.inc.php. |
|
public our tags object
Definition at line 64 of file base-object.inc.php. |
|
public. Boolean Do we use and also allow searching by lat/lon (must have 2 fields in DB called lat and lon that are of type double) Definition at line 49 of file base-object.inc.php. |
|
public. Boolean if we use object caching or not. you should understand the object caching system before you use this. Definition at line 54 of file base-object.inc.php. |
|
public. Boolean Do we use tags or not? Definition at line 59 of file base-object.inc.php. |