ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
StripState Class Reference
+ Collaboration diagram for StripState:

Public Member Functions

 __construct ()
 
 unstripGeneral ($text)
 
 unstripNoWiki ($text)
 
 unstripBoth ($text)
 

Data Fields

 $general
 
 $nowiki
 

Detailed Description

Definition at line 4981 of file Parser.php.

Constructor & Destructor Documentation

◆ __construct()

StripState::__construct ( )

Definition at line 4986 of file Parser.php.

References general.

4989  {
4990  $this->general = new ReplacementArray;
$errors general
Definition: imgupload.php:50

Member Function Documentation

◆ unstripBoth()

StripState::unstripBoth (   $text)

Definition at line 5008 of file Parser.php.

References $text, and general.

5011  {
5012  wfProfileIn(__METHOD__);
5013  $text = $this->general->replace($text);
5014  $text = $this->nowiki->replace($text);
5015  wfProfileOut(__METHOD__);
$text
Definition: errorreport.php:18
$errors general
Definition: imgupload.php:50

◆ unstripGeneral()

StripState::unstripGeneral (   $text)

Definition at line 4992 of file Parser.php.

References $text, and general.

4995  {
4996  wfProfileIn(__METHOD__);
4997  $text = $this->general->replace($text);
4998  wfProfileOut(__METHOD__);
$text
Definition: errorreport.php:18
$errors general
Definition: imgupload.php:50

◆ unstripNoWiki()

StripState::unstripNoWiki (   $text)

Definition at line 5000 of file Parser.php.

References $text.

5003  {
5004  wfProfileIn(__METHOD__);
5005  $text = $this->nowiki->replace($text);
5006  wfProfileOut(__METHOD__);
$text
Definition: errorreport.php:18

Field Documentation

◆ $general

StripState::$general

Definition at line 4983 of file Parser.php.

◆ $nowiki

StripState::$nowiki

Definition at line 4984 of file Parser.php.


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