Formats user string, expanding @VARIABLES@, accepting strftime format
string.
public static expandUserString ( string $string, array | string $escape = null, array $updates = [] ) : string | ||
$string | string | Text where to do expansion. |
$escape | array | string | Function to call for escaping variable values. Can also be an array of: - the escape method name - the class that contains the method - location of the class (for inclusion) |
$updates | array | Array with overrides for default parameters (obtained from GLOBALS). |
return | string |