Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SMW\Utils\CharArmor Class Reference

Static Public Member Functions

static removeControlChars ( $text)
 
static removeSpecialChars ( $text)
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Member Function Documentation

◆ removeControlChars()

static SMW\Utils\CharArmor::removeControlChars (   $text)
static

Remove invisible control characters and unused code points (using a negated character class to avoid removing spaces)

See also
http://www.regular-expressions.info/unicode.html#category
Since
3.0
Parameters
string$text
Returns
text

◆ removeSpecialChars()

static SMW\Utils\CharArmor::removeSpecialChars (   $text)
static
Since
3.0
Parameters
string$text
Returns
text

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

About | General disclaimer | Privacy policy