cleanLangString

Description

Cleans up language strings to/from the display

Syntax

string cleanLangString (string $string[, bool $to_display])



Parameter $string

Expected type: String
Description: The language string to clean



Parameter $to_display

Expected type: Boolean
Description: Whether or not we're sending this string to be displayed. Defaults to true



Return value

Expected type: String
Description: The cleaned string


Notes

  • Complex function - see code for complete details
Advertisement: