MIDDAG for Moodle

capability_support extends facade

Facade for local_middag\framework\support\moodle\capability_support.

Tags
see
capability_support
mixin

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
string

get_string()

public static get_string(string $capability) : string
Parameters
$capability : string
Return values
string

has()

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'
Return values
bool|null

        
On this page

Search results