Full index

Package indexes


a b c d e g h i n p s u v x _
a
top
access
Check if the user should be allowed to execute the specified controller, and optionally the specified action.
acos
PhpgaclElementsController::acos() in phpgacl_elements_controller.php
List all ACOs assigned to a section, with links for editing, removing, and creation.
aco_sections
PhpgaclElementsController::aco_sections() in phpgacl_elements_controller.php
List all ACO sections with links for editing, removing, and creation.
appendableCheckbox
Get the tag for a checkbox which value should be appendable (ie: where the name ends with []).
assignGroup
Assign groups to a user. Any groups that are already assigned to the specified user but are not included in $groups will be unassigned.
assignGroupObject
Assign groups to an object. Any groups that are already assigned to the specified object but are not included in $groups will be unassigned.
axos
PhpgaclElementsController::axos() in phpgacl_elements_controller.php
List all AXOs assigned to a section, with links for editing, removing, and creation.
axo_sections
PhpgaclElementsController::axo_sections() in phpgacl_elements_controller.php
List all AXO sections with links for editing, removing, and creation.
b
top
beforeFilter
PhpgaclElementsController::beforeFilter() in phpgacl_elements_controller.php
Runs before the action is executed. Used to make sure phpGACL is installed.
beforeFilter
PhpgaclPermissionsController::beforeFilter() in phpgacl_permissions_controller.php
Runs before the action is executed. Used to make sure phpGACL is installed.
beforeFilter
PhpgaclAppController::beforeFilter() in phpgacl_app_controller.php
Runs before the action is executed. Used to make sure phpGACL is installed.
beforeFilter
PhpgaclUsersController::beforeFilter() in phpgacl_users_controller.php
Runs before the action is executed. Used to make sure phpGACL is installed.
beforeFind
PhpgaclAxoSection::beforeFind() in phpgacl_axo_section.php
We need to set up a finderQuery for this model so we do it just before the *first* call to a find method.
beforeFind
PhpgaclAcoSection::beforeFind() in phpgacl_aco_section.php
We need to set up a finderQuery for this model so we do it just before the *first* call to a find method.
beforeRender
PhpgaclElementsController::beforeRender() in phpgacl_elements_controller.php
Runs after the action has been executed, and before the view is rendered.
beforeRender
PhpgaclUsersController::beforeRender() in phpgacl_users_controller.php
Runs after the action has been executed, and before the view is rendered.
beforeRender
PhpgaclHelpsController::beforeRender() in phpgacl_helps_controller.php
Runs after the action has been executed, and before the view is rendered.
beforeRender
PhpgaclAppController::beforeRender() in phpgacl_app_controller.php
Runs after the action has been executed, and before the view is rendered.
beforeRender
PhpgaclPermissionsController::beforeRender() in phpgacl_permissions_controller.php
Runs after the action has been executed, and before the view is rendered.
beforeValidate
PhpgaclAxoGroup::beforeValidate() in phpgacl_axo_group.php
Runs before a validation is executed. Used to validate for uniqueness of records and prevent parent_id looping.
beforeValidate
PhpgaclAro::beforeValidate() in phpgacl_aro.php
Runs before a validation is executed. Used to validate for uniqueness of records.
beforeValidate
PhpgaclAcoSection::beforeValidate() in phpgacl_aco_section.php
Runs before a validation is executed. Used to validate for uniqueness of records and prevent parent_id looping.
beforeValidate
PhpgaclAroGroup::beforeValidate() in phpgacl_aro_group.php
Runs before a validation is executed. Used to validate for uniqueness of records and prevent parent_id looping.
beforeValidate
PhpgaclAxo::beforeValidate() in phpgacl_axo.php
Runs before a validation is executed. Used to validate for uniqueness of records.
beforeValidate
PhpgaclAco::beforeValidate() in phpgacl_aco.php
Runs before a validation is executed. Used to validate for uniqueness of records.
beforeValidate
PhpgaclAxoSection::beforeValidate() in phpgacl_axo_section.php
Runs before a validation is executed. Used to validate for uniqueness of records and prevent parent_id looping.
c
top
$components
PhpgaclUsersController::$components in phpgacl_users_controller.php
Components used by this controller.
$components
PhpgaclAppController::$components in phpgacl_app_controller.php
Components used by all controllers.
$components
PhpgaclPermissionsController::$components in phpgacl_permissions_controller.php
Components used by this controller.
$components
PhpgaclElementsController::$components in phpgacl_elements_controller.php
Components used by this controller.
$components
PhpgaclController::$components in phpgacl_controller.php
Components used by this controller.
$controllerNamePluginSeparator
When a controller belongs to a plugin, its name consits of the plugin name, followed by this value, then followed by the actual controller name.
check
PhpgaclPermissionsController::check() in phpgacl_permissions_controller.php
If $value not selected, present the list of groups. If $value selected, run a check on available permissions.
checkAcl
Lookup ACL to see if access should be granted.
d
top
delController
Delete a controller.
delete
PhpgaclPermissionsController::delete() in phpgacl_permissions_controller.php
Delete permission from group.
delete_aco
PhpgaclElementsController::delete_aco() in phpgacl_elements_controller.php
Delete an ACO.
delete_aco_section
PhpgaclElementsController::delete_aco_section() in phpgacl_elements_controller.php
Delete an ACO section.
delete_axo
PhpgaclElementsController::delete_axo() in phpgacl_elements_controller.php
Delete an AXO.
delete_axo_section
PhpgaclElementsController::delete_axo_section() in phpgacl_elements_controller.php
Delete an AXO section.
delete_group
PhpgaclUsersController::delete_group() in phpgacl_users_controller.php
Delete a group.
delete_group
PhpgaclElementsController::delete_group() in phpgacl_elements_controller.php
Delete a group.
delete_user
PhpgaclUsersController::delete_user() in phpgacl_users_controller.php
Delete a user.
delGroup
Delete a group and optionally its children (or set them to belong to the root group)
delObject
Delete an ACO/ARO/AXO object.
delPermissions
Delete permissions associated to a group.
delSection
Delete an ACO/ARO/AXO section.
delUser
Delete a user.
e
top
edit
PhpgaclPermissionsController::edit() in phpgacl_permissions_controller.php
Edit or add new permission for a group.
edit_aco
PhpgaclElementsController::edit_aco() in phpgacl_elements_controller.php
Add or edit an ACO.
edit_aco_section
PhpgaclElementsController::edit_aco_section() in phpgacl_elements_controller.php
Add or edit an ACO section.
edit_axo
PhpgaclElementsController::edit_axo() in phpgacl_elements_controller.php
Add or edit an AXO.
edit_axo_section
PhpgaclElementsController::edit_axo_section() in phpgacl_elements_controller.php
Add or edit an AXO section.
edit_group
PhpgaclElementsController::edit_group() in phpgacl_elements_controller.php
Add or edit a group.
edit_group
PhpgaclUsersController::edit_group() in phpgacl_users_controller.php
Add or edit a group.
edit_user
PhpgaclUsersController::edit_user() in phpgacl_users_controller.php
Add or edit a user.
g
top
generateThreadedCheckBoxes
Get a tree of checkboxes for a threaded list.
generateThreadedLinks
Get a tree of links for a threaded list.
generateThreadedList
Get the SELECT tag for a threaded list.
getAXOs
Returns all AXO protectable elements grouped by their AXO group, and AXO section. It returns an array, for each AXO group, of the form:
getControllerActions
Get all actions defined for the specified controller in GACL. Returns an array of indexed elements, where each element is of the form ( 'value' => the object value for the action, 'name' => the descriptive name ).
getControllers
Get all available controllers defined in GACL or the application. Returns an array of indexed elements, where each element is of the form ( 'value' => the section value for the controller, 'name' => the descriptive name ). If $real is set to true it will also give the 'path' for each controller.
getGroups
Get the available groups as an indexed threaded array.
getObjectGroups
Get the groups assigned to an object.
getObjects
Get ACO/ARO/AXO objects for a section as an array where each element is of the form 'value' => value of the object, 'name' => name.
getPermissions
Get permissions associated to a group. The result (on success) will be an array of permissions, each
getSections
Get ACO/ARO/AXO sections as an array where each element is of the form 'value' => value of the section, 'name' => name.
getUserGroups
Get the groups assigned to a user.
groups
PhpgaclUsersController::groups() in phpgacl_users_controller.php
List all groups with links for editing, removing, and creation.
groups
PhpgaclElementsController::groups() in phpgacl_elements_controller.php
List all groups with links for editing, removing, and creation.
h
top
$hasMany
PhpgaclAcoSection::$hasMany in phpgacl_aco_section.php
Models that belong to this model. This model's construct will set up appropiate finderQuery.
$hasMany
PhpgaclAxoSection::$hasMany in phpgacl_axo_section.php
Models that belong to this model. This model's construct will set up appropiate finderQuery.
$helpers
PhpgaclUsersController::$helpers in phpgacl_users_controller.php
Helpers used by this controller.
$helpers
PhpgaclPermissionsController::$helpers in phpgacl_permissions_controller.php
Helpers used by this controller.
$helpers
PhpgaclHelpsController::$helpers in phpgacl_helps_controller.php
Helpers used by this controller.
$helpers
PhpgaclAppController::$helpers in phpgacl_app_controller.php
Helpers used by all controllers.
i
top
import
PhpgaclUsersController::import() in phpgacl_users_controller.php
Import groups and users into phpGACL.
importControllers
Imports all controllers and its actions into GACL.
index
PhpgaclHelpsController::index() in phpgacl_helps_controller.php
Show a help page.
index
PhpgaclPermissionsController::index() in phpgacl_permissions_controller.php
List permissions for a group. If $value not specified, show list of groups.
index
PhpgaclElementsController::index() in phpgacl_elements_controller.php
Select which controllers and actions should be defined in phpGACL.
index
PhpgaclController::index() in phpgacl_controller.php
Shows the control panel.
initialize
Initializes the component, checking if it needs to check ACL access to current controller/action. To do the check (if necessary) it calls _check()
install
Install phpGACL data if it has not been already installed.
install
PhpgaclController::install() in phpgacl_controller.php
Install basic information.
isDuplicate
PhpgaclAppModel::isDuplicate() in phpgacl_app_model.php
Check to see if current submitted record is duplicate on specified $field. It will only perform the checking if specified field has no other validation errors.
isInstalled
Tell if phpGACL is installed.
n
top
$name
PhpgaclElementsController::$name in phpgacl_elements_controller.php
Name of the controller.
$name
PhpgaclController::$name in phpgacl_controller.php
Name of the controller.
$name
PhpgaclHelpsController::$name in phpgacl_helps_controller.php
Name of the controller.
$name
PhpgaclPermissionsController::$name in phpgacl_permissions_controller.php
Name of the controller.
$name
PhpgaclUsersController::$name in phpgacl_users_controller.php
Name of the controller.
$name
PhpgaclAxoSection::$name in phpgacl_axo_section.php
Name for the model.
$name
PhpgaclAxoGroup::$name in phpgacl_axo_group.php
Name for the model.
$name
PhpgaclAcoSection::$name in phpgacl_aco_section.php
Name for the model.
$name
PhpgaclAro::$name in phpgacl_aro.php
Name for the model.
$name
PhpgaclAroGroup::$name in phpgacl_aro_group.php
Name for the model.
$name
PhpgaclAxo::$name in phpgacl_axo.php
Name for the model.
$name
PhpgaclAco::$name in phpgacl_aco.php
Name for the model.
p
top
$pluginUrl
PhpgaclAppController::$pluginUrl in phpgacl_app_controller.php
Base CakePHP URL where the plugin is accessible.
php_gacl.php
php_gacl.php in php_gacl.php
PhpgaclAco
PhpgaclAco in phpgacl_aco.php
Model to manipulate phpGACL ACOs.
PhpgaclAcoSection
PhpgaclAcoSection in phpgacl_aco_section.php
Model to manipulate phpGACL ACO sections.
PhpgaclAppController
PhpgaclAppController in phpgacl_app_controller.php
The base controller for all controllers in the plugin.
PhpgaclAppModel
PhpgaclAppModel in phpgacl_app_model.php
The base model for all models in the plugin.
PhpgaclAro
PhpgaclAro in phpgacl_aro.php
Model to manipulate phpGACL AROs.
PhpgaclAroGroup
PhpgaclAroGroup in phpgacl_aro_group.php
Model to manipulate phpGACL ARO groups.
PhpgaclAxo
PhpgaclAxo in phpgacl_axo.php
Model to manipulate phpGACL AXOs.
PhpgaclAxoGroup
PhpgaclAxoGroup in phpgacl_axo_group.php
Model to manipulate phpGACL AXO groups.
PhpgaclAxoSection
PhpgaclAxoSection in phpgacl_axo_section.php
Model to manipulate phpGACL AXO sections.
PhpGaclComponent
PhpGaclComponent in php_gacl.php
Provides a wrapper for phpGACL.
PhpgaclController
PhpgaclController in phpgacl_controller.php
The main controller for the plugin.
PhpgaclElementsController
PhpgaclElementsController in phpgacl_elements_controller.php
Actions to manage elements in phpGACL.
PhpgaclHelpsController
PhpgaclHelpsController in phpgacl_helps_controller.php
Shows help pages.
PhpgaclHtmlHelper
PhpgaclHtmlHelper in phpgacl_html.php
Html Helper class for easy use of HTML widgets.
PhpgaclPermissionsController
PhpgaclPermissionsController in phpgacl_permissions_controller.php
Actions to manage permissions in phpGACL.
PhpgaclUsersController
PhpgaclUsersController in phpgacl_users_controller.php
Actions to manage groups and users in phpGACL.
PHPGACL_PLUGIN_VERSION
PHPGACL_PLUGIN_VERSION in phpgacl_app_controller.php
phpgacl_controller.php
phpgacl_controller.php in phpgacl_controller.php
phpgacl_elements_controller.php
phpgacl_elements_controller.php in phpgacl_elements_controller.php
phpgacl_helps_controller.php
phpgacl_helps_controller.php in phpgacl_helps_controller.php
phpgacl_permissions_controller.php
phpgacl_permissions_controller.php in phpgacl_permissions_controller.php
phpgacl_users_controller.php
phpgacl_users_controller.php in phpgacl_users_controller.php
phpgacl_aco.php
phpgacl_aco.php in phpgacl_aco.php
phpgacl_aco_section.php
phpgacl_aco_section.php in phpgacl_aco_section.php
phpgacl_aro.php
phpgacl_aro.php in phpgacl_aro.php
phpgacl_aro_group.php
phpgacl_aro_group.php in phpgacl_aro_group.php
phpgacl_axo.php
phpgacl_axo.php in phpgacl_axo.php
phpgacl_axo_group.php
phpgacl_axo_group.php in phpgacl_axo_group.php
phpgacl_axo_section.php
phpgacl_axo_section.php in phpgacl_axo_section.php
phpgacl_app_controller.php
phpgacl_app_controller.php in phpgacl_app_controller.php
phpgacl_app_model.php
phpgacl_app_model.php in phpgacl_app_model.php
phpgacl_html.php
phpgacl_html.php in phpgacl_html.php
s
top
$sectionControllerPrefix
The prefix used to save controller names as AXO sections.
saveAcl
Adds a permission to a group. You can specify $axoArray as just one AXO section (e.g: 'Posts') on which case all AXO objects for that section will be included; as an array with more than one AXO sections; or as an array where elements are of the form AXO section => AXO objects, where objects is itself an array.
saveController
Add a controller to the GACL system. It will add the controller (if it hasn't been already added) and its actions (whichever actions were not previously added).
saveGroup
Edit or Add an ARO/AXO group.
saveObject
Add or edit an ACO/ARO/AXO object to a section.
savePermission
Saves a permission for a controller to a group. You can specify $controllers as just one controller (e.g: 'Posts') on which case all actions for that controller will be included; as an array with more than one controller; or as an array where controllers are of the form controller => actions, where actions is itself an array.
saveSection
Add or edit an ACO/ARO/AXO section.
saveUser
Edit or Add a user.
setController
Sets the controller.
startup
Starts up the component.
u
top
$uses
PhpgaclElementsController::$uses in phpgacl_elements_controller.php
Models used by this controller.
$uses
PhpgaclController::$uses in phpgacl_controller.php
Models used by this controller.
$uses
PhpgaclHelpsController::$uses in phpgacl_helps_controller.php
Models used by this controller.
$uses
PhpgaclPermissionsController::$uses in phpgacl_permissions_controller.php
Models used by this controller.
$uses
PhpgaclUsersController::$uses in phpgacl_users_controller.php
Models used by this controller.
$useTable
PhpgaclAco::$useTable in phpgacl_aco.php
Table used by this model.
$useTable
PhpgaclAxoSection::$useTable in phpgacl_axo_section.php
Table used by this model.
$useTable
PhpgaclAcoSection::$useTable in phpgacl_aco_section.php
Table used by this model.
$useTable
PhpgaclAro::$useTable in phpgacl_aro.php
Table used by this model.
$useTable
PhpgaclAroGroup::$useTable in phpgacl_aro_group.php
Table used by this model.
$useTable
PhpgaclAxoGroup::$useTable in phpgacl_axo_group.php
Table used by this model.
$useTable
PhpgaclAxo::$useTable in phpgacl_axo.php
Table used by this model.
users
PhpgaclUsersController::users() in phpgacl_users_controller.php
List all users with links for editing, removing, and creation.
v
top
$validate
PhpgaclAxoGroup::$validate in phpgacl_axo_group.php
Validation rules for this model.
$validate
PhpgaclAxoSection::$validate in phpgacl_axo_section.php
Validation rules for this model.
$validate
PhpgaclAxo::$validate in phpgacl_axo.php
Validation rules for this model.
$validate
PhpgaclAroGroup::$validate in phpgacl_aro_group.php
Validation rules for this model.
$validate
PhpgaclAcoSection::$validate in phpgacl_aco_section.php
Validation rules for this model.
$validate
PhpgaclAro::$validate in phpgacl_aro.php
Validation rules for this model.
$validate
PhpgaclAco::$validate in phpgacl_aco.php
Validation rules for this model.
x
top
XMLS_PREFIX_MAXLEN
XMLS_PREFIX_MAXLEN in php_gacl.php
_
top
_getCurrentId
PhpgaclAppModel::_getCurrentId() in phpgacl_app_model.php
Helper function to get ID of current submitted model. It checks $this->data, and if not available $this->id.
__construct
PhpgaclAppModel::__construct() in phpgacl_app_model.php
Override constructor to select appropiate DB connection.
a b c d e g h i n p s u v x _