MIDDAG for Moodle

global_scope_interface

Global Scope Interface.

Allows extensions to register automatic filters that are applied to all queries made through the QueryBuilder.

Table of Contents

Methods

apply()  : query_builder_interface
Apply the scope to the given QueryBuilder.
should_apply()  : bool
Check if this scope should be applied to the current context.

Methods

should_apply()

Check if this scope should be applied to the current context.

public should_apply() : bool
Return values
bool

        
On this page

Search results