ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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 4744 of file Parser.php.

Constructor & Destructor Documentation

◆ __construct()

StripState::__construct ( )

Definition at line 4747 of file Parser.php.

4748 {
4749 $this->general = new ReplacementArray;
4750 $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 4766 of file Parser.php.

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

References general.

◆ unstripGeneral()

StripState::unstripGeneral (   $text)

Definition at line 4752 of file Parser.php.

4753 {
4754 wfProfileIn( __METHOD__ );
4755 $text = $this->general->replace( $text );
4756 wfProfileOut( __METHOD__ );
4757 return $text;

References general.

◆ unstripNoWiki()

StripState::unstripNoWiki (   $text)

Definition at line 4759 of file Parser.php.

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

Field Documentation

◆ $general

StripState::$general

Definition at line 4745 of file Parser.php.

◆ $nowiki

StripState::$nowiki

Definition at line 4745 of file Parser.php.


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