Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core\hook\navigation\primary_extend Class Reference
Inheritance diagram for core\hook\navigation\primary_extend:
core\hook\described_hook Psr\EventDispatcher\StoppableEventInterface

Public Member Functions

 __construct (protected primary $primaryview)
 Creates new hook.
 
 get_primaryview ()
 Primary navigation view.
 
 isPropagationStopped ()
 Is propagation stopped?
 

Static Public Member Functions

static get_hook_description ()
 Describes the hook purpose.
 
static get_hook_tags ()
 List of tags that describe this hook.
 

Constructor & Destructor Documentation

◆ __construct()

core\hook\navigation\primary_extend::__construct ( protected primary $primaryview)

Creates new hook.

Parameters
primary$primaryviewPrimary navigation view

Member Function Documentation

◆ get_hook_description()

static core\hook\navigation\primary_extend::get_hook_description ( )
static

Describes the hook purpose.

Return values
string

Implements core\hook\described_hook.

◆ get_hook_tags()

static core\hook\navigation\primary_extend::get_hook_tags ( )
static

List of tags that describe this hook.

Return values
string[]

Implements core\hook\described_hook.

◆ get_primaryview()

core\hook\navigation\primary_extend::get_primaryview ( )

Primary navigation view.

Return values
primary

◆ isPropagationStopped()

Psr\EventDispatcher\StoppableEventInterface::isPropagationStopped ( )
inherited

Is propagation stopped?

This will typically only be used by the Dispatcher to determine if the previous listener halted propagation.

Return values
boolTrue if the Event is complete and no further listeners should be called. False to continue calling listeners.

The documentation for this class was generated from the following file: