Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\hook\navigation\primary_extend Class Reference
Inheritance diagram for core\hook\navigation\primary_extend:
Psr\EventDispatcher\StoppableEventInterface

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

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

Creates new hook.

Parameters
primary$primaryviewPrimary navigation view

Member Function Documentation

◆ 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: