class Reader

CSS selector reader.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

__construct(string $source)

No description

bool
isEOF()

No description

int
getPosition()

No description

int
getRemainingLength()

No description

string
getSubstring(int $length, int $offset)

No description

int
getOffset(string $string)

No description

bool
findPattern(string $pattern)

No description

moveForward(int $length)

No description

moveToEnd()

No description

Details

at line line 44
__construct(string $source)

Parameters

string $source

at line line 53
bool isEOF()

Return Value

bool

at line line 61
int getPosition()

Return Value

int

at line line 69
int getRemainingLength()

Return Value

int

at line line 80
string getSubstring(int $length, int $offset)

Parameters

int $length
int $offset

Return Value

string

at line line 90
int getOffset(string $string)

Parameters

string $string

Return Value

int

at line line 102
bool findPattern(string $pattern)

Parameters

string $pattern

Return Value

bool

at line line 116
moveForward(int $length)

Parameters

int $length

at line line 123
moveToEnd()