Methods summary
Modifier and Type | Method |
---|---|
public static | validateCustomAttrs ( array customAttrs , array reservedAttrNames ) |
public static | mergeAttrs ( array attrs , array customAttrs = null , bool overwrite = false ) |
public static string | hsc ( string str ) |
public static string | contentsToHtml ( mixed contents , BuildContext buildContext ) |
public static string | escape ( mixed contents , Closure pcf = null ) |
public static | buildUniqueId ( unknown prefix = null ) |
public static | encode ( unknown str ) |
public static | encodedEmailUrl ( unknown email ) |
public static | stripHtml ( unknown content ) |
Methods in detail
-
validateCustomAttrs
public static validateCustomAttrs ( array customAttrs , array reservedAttrNames ) -
mergeAttrs
public static mergeAttrs ( array attrs , array customAttrs = null , bool overwrite = false ) -
hsc
string public static hsc ( string str ) -
contentsToHtml
-
escape
string public static escape ( mixed contents , Closure pcf = null ) -
buildUniqueId
public static buildUniqueId ( unknown prefix = null ) -
encode
public static encode ( unknown str ) -
encodedEmailUrl
public static encodedEmailUrl ( unknown email ) -
stripHtml
public static stripHtml ( unknown content )
param
return