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

Class: LibertyProtector

Source Location: d:\website\PhpDocumentor\/protector/LibertyProtector.php

Class Overview

BitBase
   |
   --LibertyBase
      |
      --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


Author(s):

Version:

  • $Revision: 1.9 $ $Date: 2006/11/09 19:47:49 $ $Author: squareing $

Methods


Inherited Variables

Inherited Methods

Class: LibertyBase

LibertyBase::LibertyBase()
Constructor building on BitBase object
LibertyBase::getLibertyObject()
Given a content_id, this will return and object of the proper type

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 33]
Protector class to illustrate best practices when creating a new bitweaver package that builds on core bitweaver functionality, such as the Liberty CMS engine



Tags:

version:  $Revision: 1.9 $ $Date: 2006/11/09 19:47:49 $ $Author: squareing $
author:  spider <spider@steelsun.com>


[ Top ]


Class Methods


constructor LibertyProtector [line 37]

LibertyProtector LibertyProtector( [ $pContentId = NULL])

During initialisation, be sure to call our base constructors



Parameters:

   $pContentId  

[ Top ]

method getProtectionList [line 67]

void getProtectionList( [ $ContentId = NULL])

Return liberty_content_group_map for selected content_id

Ret -1 for anonymouse if alternatives are not stored




Parameters:

   $ContentId  

[ Top ]

method storeProtection [line 46]

void storeProtection( &$pParamHash)

Update the liberty_content_group_map table with corrected group_id(s)

In -1 for anonymouse is not stored, switching content to anonymouse will clear array




Parameters:

   &$pParamHash  

[ Top ]


Documentation generated on Thu, 15 Feb 2007 20:42:27 +0000 by phpDocumentor 1.3.0