ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
OnlyIncludeReplacer Class Reference
+ Collaboration diagram for OnlyIncludeReplacer:

Public Member Functions

 replace ( $matches)
 

Data Fields

 $output = ''
 

Detailed Description

Definition at line 4736 of file Parser.php.

Member Function Documentation

◆ replace()

OnlyIncludeReplacer::replace (   $matches)

Definition at line 4739 of file Parser.php.

4740  {
4741  if ( substr( $matches[1], -1 ) == "\n" ) {
4742  $this->output .= substr( $matches[1], 0, -1 );
4743  } else {
4744  $this->output .= $matches[1];
4745  }

Field Documentation

◆ $output

OnlyIncludeReplacer::$output = ''

Definition at line 4737 of file Parser.php.


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