ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.

References general.

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

Member Function Documentation

◆ unstripBoth()

StripState::unstripBoth (   $text)

Definition at line 4774 of file Parser.php.

References $text, and general.

4775  {
4776  wfProfileIn( __METHOD__ );
4777  $text = $this->general->replace( $text );
4778  $text = $this->nowiki->replace( $text );
4779  wfProfileOut( __METHOD__ );
4780  return $text;
$errors general
Prepares and displays settings form.
Definition: imgupload.php:51
$text

◆ unstripGeneral()

StripState::unstripGeneral (   $text)

Definition at line 4760 of file Parser.php.

References $text, and general.

4761  {
4762  wfProfileIn( __METHOD__ );
4763  $text = $this->general->replace( $text );
4764  wfProfileOut( __METHOD__ );
4765  return $text;
$errors general
Prepares and displays settings form.
Definition: imgupload.php:51
$text

◆ unstripNoWiki()

StripState::unstripNoWiki (   $text)

Definition at line 4767 of file Parser.php.

References $text.

4768  {
4769  wfProfileIn( __METHOD__ );
4770  $text = $this->nowiki->replace( $text );
4771  wfProfileOut( __METHOD__ );
4772  return $text;
$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: