global_scope_interface
interface global_scope_interface
Global Scope Interface.
Allows extensions to register automatic filters that are applied to all queries made through the QueryBuilder.
Methods
bool
should_apply()
Check if this scope should be applied to the current context.
Details
at line 35
query_builder_interface
apply(query_builder_interface $builder)
Apply the scope to the given QueryBuilder.
at line 42
bool
should_apply()
Check if this scope should be applied to the current context.