lang extends facade
Facade for local_middag\framework\support\moodle\lang_support.
Tags
Table of Contents
Methods
- get() : lang_string|string
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- get_string() : lang_string|string
- get_string_or_identifier() : lang_string|string
- pluginname() : string
- string_exists() : bool
Methods
get()
public
static get(string $identifier[, mixed $a = = 'null' ][, bool $lazyload = = 'false' ][, string $component = = '\\local_middag\\framework\\support\\middag_helper::COMPONENT_NAME' ]) : lang_string|string
Parameters
- $identifier : string
- $a : mixed = = 'null'
- $lazyload : bool = = 'false'
- $component : string = = '\\local_middag\\framework\\support\\middag_helper::COMPONENT_NAME'
Return values
lang_string|stringget_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 $identifier[, string $component = = '\'\'' ][, mixed $a = = 'null' ][, bool $lazyload = = 'false' ]) : lang_string|string
Parameters
- $identifier : string
- $component : string = = '\'\''
- $a : mixed = = 'null'
- $lazyload : bool = = 'false'
Return values
lang_string|stringget_string_or_identifier()
public
static get_string_or_identifier(string $identifier[, string $component = = '\'\'' ][, mixed $a = = 'null' ][, bool $lazyload = = 'false' ]) : lang_string|string
Parameters
- $identifier : string
- $component : string = = '\'\''
- $a : mixed = = 'null'
- $lazyload : bool = = 'false'
Return values
lang_string|stringpluginname()
public
static pluginname() : string
Return values
stringstring_exists()
public
static string_exists(string $identifier[, string $component = = '\\local_middag\\framework\\support\\middag_helper::COMPONENT_NAME' ]) : bool
Parameters
- $identifier : string
- $component : string = = '\\local_middag\\framework\\support\\middag_helper::COMPONENT_NAME'