ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 4752 of file Parser.php.

Constructor & Destructor Documentation

◆ __construct()

StripState::__construct ( )

Definition at line 4755 of file Parser.php.

4756 {
4757 $this->general = new ReplacementArray;
4758 $this->nowiki = new ReplacementArray;
$errors general
Prepares and displays settings form.
Definition: imgupload.php:47

References general.

Member Function Documentation

◆ unstripBoth()

StripState::unstripBoth (   $text)

Definition at line 4774 of file Parser.php.

4775 {
4776 wfProfileIn( __METHOD__ );
4777 $text = $this->general->replace( $text );
4778 $text = $this->nowiki->replace( $text );
4779 wfProfileOut( __METHOD__ );
4780 return $text;
$text

References $text, and general.

◆ unstripGeneral()

StripState::unstripGeneral (   $text)

Definition at line 4760 of file Parser.php.

4761 {
4762 wfProfileIn( __METHOD__ );
4763 $text = $this->general->replace( $text );
4764 wfProfileOut( __METHOD__ );
4765 return $text;

References $text, and general.

◆ unstripNoWiki()

StripState::unstripNoWiki (   $text)

Definition at line 4767 of file Parser.php.

4768 {
4769 wfProfileIn( __METHOD__ );
4770 $text = $this->nowiki->replace( $text );
4771 wfProfileOut( __METHOD__ );
4772 return $text;

References $text.

Field Documentation

◆ $general

StripState::$general

Definition at line 4753 of file Parser.php.

◆ $nowiki

StripState::$nowiki

Definition at line 4753 of file Parser.php.


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