Метод |
Описание |
|
between ( string $string, integer $start, integer $end ) : string |
Method to return a substring of the string between two delimiters. |
|
camelCaseToDash ( string $string ) : string |
Method to convert the string from camelCase to dash format |
|
camelCaseToSeparator ( string $string, string $sep = DIRECTORY_SEPARATOR ) : string |
Method to convert the string from camelCase to separator format |
|
camelCaseToUnderscore ( string $string ) : string |
Method to convert the string from camelCase to under_score format |
|
clean ( string $string, boolean $html = false ) : string |
Method to clean the string of any of the standard MS Word based
characters and return the newly edited string |
|
dashToCamelcase ( string $string ) : string |
Method to convert the string from dash to camelCase format |
|
dashToSeparator ( string $string, string $sep = DIRECTORY_SEPARATOR ) : string |
Method to convert the string from dash to separator format |
|
dashToUnderscore ( string $string ) : string |
Method to convert the string from dash to under_score format |
|
dosToUnix ( string $string ) : string |
Method to convert newlines from DOS to UNIX |
|
escape ( string $string, boolean $all = false ) : string |
Method to simulate escaping a string for DB entry, much like
mysql_real_escape_string(), but without requiring a DB connection. |
|
links ( string $string, boolean $target = false ) : string |
Method to convert any links in the string to clickable HTML links. |
|
random ( integer $length, integer $type = String::ALL, integer $case = String::MIXED ) : string |
Method to generate a random alphanumeric string of a predefined length. |
|
slug ( string $string, string $sep = null ) : string |
Method to convert the string into an SEO-friendly slug. |
|
underscoreToCamelcase ( string $string ) : string |
Method to convert the string from under_score to camelCase format |
|
underscoreToDash ( string $string ) : string |
Method to convert the string from under_score to dash format |
|
underscoreToSeparator ( string $string, string $sep = DIRECTORY_SEPARATOR ) : string |
Method to convert the string from under_score to separator format |
|
unixToDos ( string $string ) : string |
Method to convert newlines from UNIX to DOS |
|