Method |
Description |
|
__construct ( string $tweet ) |
Reads in a tweet to be parsed and validates it. |
|
create ( string $tweet ) : Twitter_Validation |
Provides fluent method chaining. |
|
getLength ( ) : integer |
Determines the length of a tweet. Takes shortening of URLs into account. |
|
validateHashtag ( ) : boolean |
Check whether a hashtag is valid. |
|
validateList ( ) : boolean |
Check whether a list is valid. |
|
validateTweet ( ) : boolean |
Check whether a tweet is valid. |
|
validateURL ( boolean $unicode_domains = true, boolean $require_protocol = true ) : boolean |
Check whether a URL is valid. |
|
validateUsername ( ) : boolean |
Check whether a username is valid. |
|