$db_handle
$db_handle :
The Permissions class
Defines categories and permission types. Used with Roles and User classes
createPermission( $name, $catId, $definition = "") : \the
Creates a new permission under the given category.
A definition can be provided for further refining.
$name | name of this permission |
|
$catId | the category ID to associate the permission with |
|
$definition | define what this permission is if special (optional) |
id of this permission or 0 if failed to create.