Explicitly mark public methods public
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 28 Feb 2007 17:25:41 +0000 (17:25 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 28 Feb 2007 17:25:41 +0000 (17:25 +0000)
includes/Parser.php

index 7810f1e..14d45bd 100644 (file)
@@ -4648,11 +4648,11 @@ class Parser
         * @param $section Integer: section number
         * @return string text of the requested section
         */
-       function getSection( $text, $section ) {
+       public function getSection( $text, $section ) {
                return $this->extractSections( $text, $section, "get" );
        }
 
-       function replaceSection( $oldtext, $section, $text ) {
+       public function replaceSection( $oldtext, $section, $text ) {
                return $this->extractSections( $oldtext, $section, "replace", $text );
        }