Public Member Functions | Data Fields

StripState Class Reference

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

StripState::__construct (  ) 

Definition at line 4747 of file Parser.php.

                               {
                $this->general = new ReplacementArray;
                $this->nowiki = new ReplacementArray;


Member Function Documentation

StripState::unstripBoth ( text  ) 

Definition at line 4766 of file Parser.php.

                                      {
                wfProfileIn( __METHOD__ );
                $text = $this->general->replace( $text );
                $text = $this->nowiki->replace( $text );
                wfProfileOut( __METHOD__ );
                return $text;

StripState::unstripGeneral ( text  ) 

Definition at line 4752 of file Parser.php.

                                         {
                wfProfileIn( __METHOD__ );
                $text = $this->general->replace( $text );
                wfProfileOut( __METHOD__ );
                return $text;

StripState::unstripNoWiki ( text  ) 

Definition at line 4759 of file Parser.php.

                                        {
                wfProfileIn( __METHOD__ );
                $text = $this->nowiki->replace( $text );
                wfProfileOut( __METHOD__ );
                return $text;


Field Documentation

StripState::$general

Definition at line 4745 of file Parser.php.

StripState::$nowiki

Definition at line 4745 of file Parser.php.


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