Documentation

PageGuard
in package

Handles access restriction administration on Pages.

(Retrieve / Store)

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

CLOUDREXX Development Team info@cloudrexx.com

subpackage

core

Table of Contents

Properties

$db  : mixed

Methods

__construct()  : mixed
getAssignedGroupIds()  : mixed
Returns the group ids with access to front- or backend of a page
getGroups()  : mixed
Returns an array of all front- or backend groups
setAssignedGroupIds()  : mixed
getAccessId()  : mixed

Properties

Methods

__construct()

public __construct(mixed $db) : mixed
Parameters
$db : mixed

getAssignedGroupIds()

Returns the group ids with access to front- or backend of a page

public getAssignedGroupIds(Page $page, bool $frontend) : mixed
Parameters
$page : Page

Page to get the group ids of

$frontend : bool

True for frontend access groups, false for backend

Tags
throws
PageGuardException
Return values
mixed

Array of group ids or false on error

getGroups()

Returns an array of all front- or backend groups

public getGroups(bool $frontend) : mixed
Parameters
$frontend : bool

True for frontend access groups, false for backend

Return values
mixed

Array (id=>name) or false on error

setAssignedGroupIds()

public setAssignedGroupIds(mixed $page, mixed $ids, mixed $frontend) : mixed
Parameters
$page : mixed
$ids : mixed
$frontend : mixed

getAccessId()

protected getAccessId(mixed $page, mixed $frontend) : mixed
Parameters
$page : mixed
$frontend : mixed

        
On this page

Search results