[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/capability/ -> locallib.php (summary)

Functions used by the capability tool.

Copyright: 2013 Sam Hemelryk
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 102 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  tool_capability_calculate_role_data()

Functions
Functions that are not part of a class:

tool_capability_calculate_role_data($capability, array $roles)   X-Ref
Calculates capability data organised by context for the given roles.

param: string $capability The capability to get data for.
param: array $roles An array of roles to get data for.
return: context[] An array of contexts.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1