CKFinder 3 – PHP Connector Documentation
RoleContextInterface Interface Reference
Inheritance diagram for RoleContextInterface:

Public Member Functions

 getRole ()

Detailed Description

The role context interface.

You can implement this interface to get the current user role in your application. By default Access Control Lists use SessionRoleContext to get the user role from the defined $_SESSION field.

Member Function Documentation

◆ getRole()

getRole ( )

Returns the name of the current user role.

null|string the current user role name or null

Implemented in SessionRoleContext.

The documentation for this interface was generated from the following file: