PHP Класс Twitter_Regex, twitter-text-php
Used by subclasses that need to parse tweets.
Originally written by {@link http://github.com/mikenz Mike Cochrane}, this
is based on code by {@link http://github.com/mzsanford Matt Sanford} and
heavily modified by {@link http://github.com/ngnpope Nick Pope}.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$patterns |
|
Contains all generated regular expressions. |
|
$tweet |
string |
The tweet to be used in parsing. This should be populated by the
constructor of all subclasses. |
|
Открытые методы
Метод |
Описание |
|
__static ( ) |
Emulate a static initialiser while PHP doesn't have one. |
|
Защищенные методы
Метод |
Описание |
|
__construct ( string $tweet ) |
This constructor is used to populate some variables. |
|
Описание методов
__construct()
защищенный Метод
This constructor is used to populate some variables.
__static()
публичный статический Метод
Emulate a static initialiser while PHP doesn't have one.
Описание свойств
$patterns защищенное статическое свойство
Contains all generated regular expressions.
protected static $patterns |