PHP Class Contao\String
Usage:
$short = String::substr($str, 32);
$html = String::substrHtml($str, 32);
$xhtml = String::toXhtml($html5);
Datei anzeigen
Open project: contao/core-bundle
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$objInstance |
StringUtil |
Object instance (Singleton) |
|
Public Methods
Method |
Description |
|
__clone ( ) |
Prevent cloning of the object (Singleton) |
|
getInstance ( ) : String |
Return the object instance (Singleton) |
|
Protected Methods
Method |
Description |
|
__construct ( ) |
Prevent direct instantiation (Singleton) |
|
Method Details
__clone()
final public method
Prevent cloning of the object (Singleton)
__construct()
protected method
Prevent direct instantiation (Singleton)
getInstance()
public static method
Return the object instance (Singleton)
public static getInstance ( ) : String |
return |
String |
The object instance |
Property Details
$objInstance protected_oe static_oe property
Object instance (Singleton)
protected static StringUtil,contao $objInstance |
return |
StringUtil |
|