Procedural File: LibertyProtector.php
Source Location: /protector/LibertyProtector.php
Classes:
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
Page Details:
protector package limits content based on user role
Tags:
Includes:
protector_comment_store [line 137]
void protector_comment_store(
&$pContent, &$pParamHash, object $pContent, array $pParamHash)
|
|
function to store a filtered comment element
Parameters
object |
$pContent |
|
array |
$pParamHash |
|
|
&$pContent |
|
|
&$pParamHash |
|
protector_content_display [line 170]
void protector_content_display(
&$pContent, &$pParamHash, object $pContent, array $pParamHash)
|
|
function to display a filtered content element
Parameters
object |
$pContent |
|
array |
$pParamHash |
|
|
&$pContent |
|
|
&$pParamHash |
|
protector_content_edit [line 207]
void protector_content_edit(
&$pContent, object $pContent)
|
|
function to edit a filtered content element
Parameters
object |
$pContent |
|
|
&$pContent |
|
protector_content_expunge [line 158]
void protector_content_expunge(
[ &$pContent = NULL], object $pContent, array $pParamHash)
|
|
function to delete a filtered content element
Parameters
object |
$pContent |
|
array |
$pParamHash |
|
|
&$pContent |
|
protector_content_list [line 83]
void protector_content_list(
)
|
|
function to provide list of filtered content
protector_content_load [line 99]
void protector_content_load(
[ &$pContent = NULL], object $pContent)
|
|
function to load a filtered content element
Parameters
object |
$pContent |
|
|
&$pContent |
|
protector_content_store [line 119]
void protector_content_store(
&$pObject, &$pParamHash, object $pObject, array $pParamHash)
|
|
function to store a filtered content element
Parameters
object |
$pObject |
|
array |
$pParamHash |
|
|
&$pObject |
|
|
&$pParamHash |
|
protector_content_verify_access [line 181]
void protector_content_verify_access(
&$pContent, &$pHash, object $pContent, array $pHash)
|
|
function to verify access to a filtered content element
Parameters
object |
$pContent |
|
array |
$pHash |
|
|
&$pContent |
|
|
&$pHash |
|
|
|