PHP Class 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}.
Mostrar archivo
Open project: ngnpope/twitter-text-php
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$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. |
|
Public Methods
Method |
Description |
|
__static ( ) |
Emulate a static initialiser while PHP doesn't have one. |
|
Protected Methods
Method |
Description |
|
__construct ( string $tweet ) |
This constructor is used to populate some variables. |
|
Method Details
__construct()
protected method
This constructor is used to populate some variables.
__static()
public static method
Emulate a static initialiser while PHP doesn't have one.
Property Details
$patterns protected_oe static_oe property
Contains all generated regular expressions.
protected static $patterns |