MIDDAG for Moodle

middag_helper extends facade

Facade for local_middag\framework\support\middag_helper.

Tags
see
middag_helper
mixin

Table of Contents

Methods

get()  : object
get_component_name()  : string
get_docs_url()  : string
get_facade_accessor()  : string
Return the service accessor key for this facade.
get_middagplugins_overview_url()  : string
get_site_url()  : string
get_support_url()  : string
handle()  : void
init()  : void
is_development()  : bool
is_production()  : bool
is_testing()  : bool
register_route()  : void
register_routes_from_annotations()  : void
routing()  : router_interface
shutdown()  : void
url_generator()  : moodle_url
webhook_url_generator()  : moodle_url

Methods

get()

public static get(string $id) : object
Parameters
$id : string
Return values
object

get_component_name()

public static get_component_name() : string
Return values
string

get_docs_url()

public static get_docs_url() : string
Return values
string

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

get_middagplugins_overview_url()

public static get_middagplugins_overview_url() : string
Return values
string

get_site_url()

public static get_site_url() : string
Return values
string

get_support_url()

public static get_support_url() : string
Return values
string

is_development()

public static is_development() : bool
Return values
bool

is_production()

public static is_production() : bool
Return values
bool

is_testing()

public static is_testing() : bool
Return values
bool

register_route()

public static register_route(string $name, string $path, string $controller_class, string $method[, array<string|int, mixed> $requirements = = '[]' ]) : void
Parameters
$name : string
$path : string
$controller_class : string
$method : string
$requirements : array<string|int, mixed> = = '[]'

register_routes_from_annotations()

public static register_routes_from_annotations(string $class_name) : void
Parameters
$class_name : string

routing()

public static routing() : router_interface
Return values
router_interface

url_generator()

public static url_generator(string $route[, array<string|int, mixed> $parameters = = '[]' ][, int $reference_type = = '\\Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface::ABSOLUTE_PATH' ]) : moodle_url
Parameters
$route : string
$parameters : array<string|int, mixed> = = '[]'
$reference_type : int = = '\\Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface::ABSOLUTE_PATH'
Return values
moodle_url

webhook_url_generator()

public static webhook_url_generator(string $route[, array<string|int, mixed> $parameters = = '[]' ][, int $reference_type = = '\\Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface::ABSOLUTE_PATH' ]) : moodle_url
Parameters
$route : string
$parameters : array<string|int, mixed> = = '[]'
$reference_type : int = = '\\Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface::ABSOLUTE_PATH'
Return values
moodle_url

        
On this page

Search results