CMS Made Simple API

CmsPermission
in package

FinalYes

Simple class for dealing with a permission.

Tags
since
2.0
license

GPL

author

Robert Campbell calguy1000@gmail.com

Table of Contents

Methods

__construct()  : mixed
Constructor
delete()  : mixed
Delete this permission
get_perm_id()  : int
Given a permission name, get it's id
load()  : CmsPermission
Load a permission with the specified name
save()  : mixed
Save the permission to the database
validate()  : mixed
Validate the exception
_insert()  : mixed
Insert a new permission

Methods

delete()

Delete this permission

public delete() : mixed
Tags
throws
CmsLogicExceptin

get_perm_id()

Given a permission name, get it's id

public static get_perm_id(string $permname) : int
Parameters
$permname : string
Return values
int

        
On this page

Search results