Matcher
in package
Match an expression against a component.
Copyright 2011-2020 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- matches() : bool
- Does the component match the given selector?
Methods
matches()
Does the component match the given selector?
public
static matches(string $c_name, string $c_channel, string $selector) : bool
Parameters
- $c_name : string
-
The component name.
- $c_channel : string
-
The component channel.
- $selector : string
-
The selector.
Return values
bool —True if the component matches.