\DevOwl\FastHtmlTag\finderSelectorSyntaxAttribute

An attribute definition for `SelectorSyntaxFinder` with attribute name, operator and the requested value.

Summary

Methods
Properties
Constants
__construct()
matchesComparator()
satisfiesFunctions()
getAttribute()
getComparator()
getValue()
getFinder()
getFunctions()
setFinder()
No public properties found
COMPARATOR_EXISTS
COMPARATOR_EQUAL
COMPARATOR_CONTAINS
COMPARATOR_STARTS_WITH
COMPARATOR_ENDS_WITH
ALLOWED_COMPARATORS
No protected methods found
No protected properties found
N/A
No private methods found
$finder
$attribute
$comparator
$value
$functions
N/A

Constants

COMPARATOR_EXISTS

COMPARATOR_EXISTS ='EXISTS'

COMPARATOR_EQUAL

COMPARATOR_EQUAL ='='

COMPARATOR_CONTAINS

COMPARATOR_CONTAINS ='*='

COMPARATOR_STARTS_WITH

COMPARATOR_STARTS_WITH ='^='

COMPARATOR_ENDS_WITH

COMPARATOR_ENDS_WITH ='$='

ALLOWED_COMPARATORS

ALLOWED_COMPARATORS =array(self::COMPARATOR_EQUAL, self::COMPARATOR_CONTAINS, self::COMPARATOR_STARTS_WITH, self::COMPARATOR_ENDS_WITH)

Properties

$finder

$finder :

Type

$attribute

$attribute :

Type

$comparator

$comparator :

Type

$value

$value :

Type

Methods

__construct()

__construct(\DevOwl\FastHtmlTag\finder\SelectorSyntaxFinder  $finder,string  $attribute,string  $comparator,string  $value,string  $functions)

C'tor.

Parameters

\DevOwl\FastHtmlTag\finder\SelectorSyntaxFinder $finder
string $attribute
string $comparator
string $value
string $functions

matchesComparator()

matchesComparator(string  $value)

Checks if the current attribute and value matches the comparator.

Parameters

string $value

getAttribute()

getAttribute()

Getter.

getComparator()

getComparator()

Getter.

getValue()

getValue()

Getter.

getFinder()

getFinder()

Getter.

getFunctions()

getFunctions()

Getter.