get_matches_from


Description:

public Array<Accessible> get_matches_from (Accessible current_object, MatchRule rule, CollectionSortOrder sortby, CollectionTreeTraversalType tree, int count, bool traverse) throws Error

Gets all Accessible objects from the this, before current_object, matching a given rule.

Parameters:

this

A pointer to the Collection to query.

current_object

Upon reaching this object, searching should stop.

rule

An MatchRule describing the match criteria.

sortby

An CollectionSortOrder specifying the way the results are to be sorted.

tree

An CollectionTreeTraversalType specifying restrictions on the objects to be traversed.

count

The maximum number of results to return, or 0 for no limit.

traverse

Not supported.

Returns:

All Accessible objects matching the given match rule that preceed current_object.