rapila
Static Public Member Functions | List of all members
StringUtil Class Reference

Static Public Member Functions

static encodeFromDatabase ($sText)
 
static encodeForBrowser ($sText, $sEncoding="utf-8")
 
static encodeForDbFromFile ($sText)
 
static encode ($sText, $sEncoding, $sDestinationEncoding)
 
static camelize ($sString, $bUcFirst=false)
 
static deCamelize ($sString)
 
static makeReadableName ($sString, $sExplodeString='_')
 
static endsWith ($str, $end)
 
static startsWith ($str, $start)
 
static truncate ($sText, $iLength=20, $sPostfix="…", $iTolerance=3)
 
static normalizeToASCII ($sInput, $sReplaceSpaceWith= '-', $sReplaceNonWordsWith= '')
 
static normalize ($sInput)
 
static normalizeMinimally ($sInput, $sReplaceSpaceWith= '-')
 
static normalizePath ($sInput, $bToLowerCase=true)
 
static getWords ($sString, $bFromHtml=false, $sReplaceNonWordsWith= '')
 

The documentation for this class was generated from the following file: