Rename BaseTemplate::clear to getClear to avoid conflicts
authorIsarra <zhorishna@gmail.com>
Wed, 5 Apr 2017 20:33:26 +0000 (20:33 +0000)
committerIsarra <zhorishna@gmail.com>
Wed, 5 Apr 2017 20:35:08 +0000 (20:35 +0000)
with Example skin and derivatives

Also it's a bit more consistent with everything else anyway.

Change-Id: I2745d51267790e93fe2b92a75e88621abbb57fd1

includes/skins/BaseTemplate.php

index dc0a703..5868904 100644 (file)
@@ -699,7 +699,7 @@ abstract class BaseTemplate extends QuickTemplate {
                        $html .= Html::closeElement( 'ul' );
                }
 
                        $html .= Html::closeElement( 'ul' );
                }
 
-               $html .= $this->clear() . $footerEnd;
+               $html .= $this->getClear() . $footerEnd;
 
                return $html;
        }
 
                return $html;
        }
@@ -710,7 +710,7 @@ abstract class BaseTemplate extends QuickTemplate {
         * @return string html
         * @since 1.29
         */
         * @return string html
         * @since 1.29
         */
-       protected function clear() {
+       protected function getClear() {
                return Html::element( 'div', [ 'class' => 'visualClear' ] );
        }
 
                return Html::element( 'div', [ 'class' => 'visualClear' ] );
        }