Extension:SubPageList3/SPL2Code

This is the code for Extension:SubPageList2.

'; break; default: $this->error( "Unknown value for option previewmode." ); }    $list[] = $this->makeHeadline( $title ). "\n". $content. '';   }    return implode( "\n", $list ); }

/**  * Wrapper function parse, call the other functions * @param string $text the content * @return string the parsed output */ function parse( $text ) { wfProfileIn( __METHOD__ ); $options =& $this->parser->mOptions; $output = $this->parser->parse( $text, $this->title, $options, true, false ); wfProfileOut( __METHOD__ ); return $output->getText; }

}

?>