Reader

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)
bool isEOF()
int getPosition()
int getRemainingLength()
string getSubstring(int $length, int $offset)
int getOffset(string $string)
bool findPattern(string $pattern)
moveForward(int $length)
moveToEnd()

Details

__construct(string $source)

Parameters

string $source

bool isEOF()

Return Value

bool

int getPosition()

Return Value

int

int getRemainingLength()

Return Value

int

string getSubstring(int $length, int $offset)

Parameters

int $length
int $offset

Return Value

string

int getOffset(string $string)

Parameters

string $string

Return Value

int

bool findPattern(string $pattern)

Parameters

string $pattern

Return Value

bool

moveForward(int $length)

Parameters

int $length

moveToEnd()

doc_Symfony
2016-10-28 06:28:30
Comments
Leave a Comment

Please login to continue.