capability_support extends facade
Facade for local_middag\framework\support\moodle\capability_support.
Tags
Table of Contents
Methods
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- get_string() : string
- has() : bool|null
Methods
get_facade_accessor()
Return the service accessor key for this facade.
public
static get_facade_accessor() : string
Return values
stringget_string()
public
static get_string(string $capability) : string
Parameters
- $capability : string
Return values
stringhas()
public
static has(mixed $capability, context $context[, mixed $user = = 'null' ][, bool $doanything = = 'true' ]) : bool|null
Parameters
- $capability : mixed
- $context : context
- $user : mixed = = 'null'
- $doanything : bool = = 'true'