LibertyBase Class Reference

Inheritance diagram for LibertyBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 getLibertyClass ($pContentGuid)
 getLibertyObject ($pContentId, $pContentGuid=NULL, $pLoadContent=TRUE)
 LibertyBase ()

Detailed Description

Definition at line 33 of file LibertyBase.php.


Member Function Documentation

LibertyBase::getLibertyClass ( pContentGuid  ) 

given a content_type_guid this will return an object of the proper type

Parameters:
the content type to be loaded

Definition at line 51 of file LibertyBase.php.

References $ret, FALSE, getLibertyObject(), and mContentId.

Referenced by LibertyAttachable::expungeAttachment().

Here is the call graph for this function:

LibertyBase::getLibertyObject ( pContentId,
pContentGuid = NULL,
pLoadContent = TRUE 
)

Given a content_id, this will return and object of the proper type

Parameters:
integer content_id of the object to be returned
string optional content_type_guid of pConId. This will save a select if you happen to have this info. If not, this method will look it up for you.
call load on the content. Defaults to true.
Returns:
object of the appropriate content type class

Definition at line 67 of file LibertyBase.php.

References $gBitSystem, $gBitUser, $gLibertySystem, $ret, $type, and BitBase::verifyId().

Referenced by data_addtabs(), data_attachment(), data_include(), LibertyStructure::exportHtml(), LibertyComment::getDisplayUrl(), LibertyComment::getDisplayUrl2(), getLibertyClass(), LibertyRecommends::getRecommendingDetails(), LibertyStars::loadRatingDetails(), FisheyeImage::lookup(), and FisheyeGallery::lookup().

Here is the call graph for this function:

LibertyBase::LibertyBase (  ) 

Constructor building on BitBase object

Object need to init the database connection early Database will be linked via a previously activated BitDb object which will provide the mDb pointer to that database

Definition at line 42 of file LibertyBase.php.

References BitBase::BitBase().

Referenced by LibertyContent::LibertyContent(), LibertyGatekeeper::LibertyGatekeeper(), LibertyQuota::LibertyQuota(), LibertyRecommends::LibertyRecommends(), LibertyStars::LibertyStars(), LibertyStructure::LibertyStructure(), LibertySystem::LibertySystem(), LibertyTag::LibertyTag(), and LibertyTranslations::LibertyTranslations().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:39 2007 for bitweaver by  doxygen 1.5.2