liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Class: LibertyBase

Source Location: d:\website\PhpDocumentor\/liberty/LibertyBase.php

Class Overview

BitBase
   |
   --LibertyBase

Virtual base class (as much as one can have such things in PHP) for all derived bitweaver classes that manage content.


Methods


Child classes:

LibertyGatekeeper
Gatekeeper class to illustrate best practices when creating a new bitweaver package that builds on core bitweaver functionality, such as the Liberty CMS engine
LibertyTranslations
LibertyContent
Virtual base class (as much as one can have such things in PHP) for all derived tikiwiki classes that require database access.
LibertyStructure
System class for handling the liberty package
LibertySystem
System class for handling the liberty package
LibertyProtector
Protector class to illustrate best practices when creating a new bitweaver package that builds on core bitweaver functionality, such as the Liberty CMS engine
LibertyQuota
Quota class to illustrate best practices when creating a new bitweaver package that builds on core bitweaver functionality, such as the Liberty CMS engine
LibertyStars
Liberty Stars

Inherited Variables

Inherited Methods

Class: BitBase

BitBase::BitBase()
During initialisation, we assign a name which is used by the class.
BitBase::debug()
Switch debug level in database
BitBase::display()
This method should be THE method used to display a template. php files should not access $gBitSmarty directly.
BitBase::getDb()
Return pointer to current Database
BitBase::getField()
Returns entry from the mInfo hash if field exists
BitBase::isDatabaseValid()
Determines if there is a valide database connection
BitBase::prepGetList()
Prepares parameters with default values for any getList function
BitBase::setDatabase()
Sets database mechanism for the instance
BitBase::verifyId()
Determines if any given variable exists and is a number

Class Details

[line 32]
Virtual base class (as much as one can have such things in PHP) for all derived bitweaver classes that manage content.



[ Top ]


Class Methods


constructor LibertyBase [line 41]

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




[ Top ]

method getLibertyObject [line 52]

object of getLibertyObject( integer $pContentId, [string $pContentGuid = NULL])

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



Tags:

return:  the appropriate content type class


Parameters:

integer   $pContentId   content_id of the object to be returned
string   $pContentGuid   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.

[ Top ]


Documentation generated on Thu, 15 Feb 2007 20:41:57 +0000 by phpDocumentor 1.3.0