Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
getSelectorsBySpecificity

Returns all Selector objects found recursively in the tree.

Returns all Selector objects found recursively in the tree.Note that this does not yield the full DeclarationBlock that the selector belongs to (and, currently, there is no way to get to that).

Parameters
string | null$sSpecificitySearchAn optional filter by specificity. May contain a comparison operator and a number or just a number (defaults to "==").
Return values
array<int,Selector>('>= 100')`