Spec-Zone.ru › Symfony 3.0

Токен

класс Токен

Токен селектора CSS.

Этот компонент является портированием библиотеки Python cssselect, авторское право принадлежит Ian Bicking, см. https://github.com/SimonSapin/cssselect.

Константы

TYPE_FILE_END
TYPE_DELIMITER
TYPE_WHITESPACE
TYPE_IDENTIFIER
TYPE_HASH
TYPE_NUMBER
TYPE_STRING

Методы

__construct(int $type, string $value, int $position)
int getType()
string getValue()
int getPosition()
bool isFileEnd()
bool isDelimiter(array $values = array())
bool isWhitespace()
bool isIdentifier()
bool isHash()
bool isNumber()
bool isString()
string __toString()

Детали

__construct(int $type, string $value, int $position)

Параметры

int $type
string $value
int $position

int getType()

Значение возврата

int

string getValue()

Значение возврата

string

int getPosition()

Значение возврата

int

bool isFileEnd()

Значение возврата

bool

bool isDelimiter(array $values = array())

Параметры

array $values

Значение возврата

bool

bool isWhitespace()

Значение возврата

bool

bool isIdentifier()

Значение возврата

bool

bool isHash()

Значение возврата

bool

bool isNumber()

Значение возврата

bool

bool isString()

Значение возврата

bool

string __toString()

Значение возврата

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/CssSelector/Parser/Token.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API