Add some common functions to BaseTemplate
authorIsarra <zhorishna@gmail.com>
Sat, 25 Mar 2017 20:57:37 +0000 (20:57 +0000)
committerIsarra <zhorishna@gmail.com>
Sun, 26 Mar 2017 20:41:06 +0000 (20:41 +0000)
commit03224faa0983b6f9a67bd3ab3a0c5983779e2369
treeb6f0e6a480d5d7e384991bb2a7eea27a3ebdd0e8
parent162a7a306c20db2693e842070393676159f653e9
Add some common functions to BaseTemplate

Breaks any skins with same-name functions with different
visibility/functionality. Should mostly only be anything
based on Example, because that had everything set to private
for some reason. Normal skin practice for most others is to
use totally different names anyway. (eg 'render...' instead
of 'get...', and visualClear output done directly)

* clear: returns a visualClear
* getFooter: calls getFooterIcons and getFooterLinks and
  handles all the output; format is common to nearly every
  skin since MonoBook
* getAfterPortlet: same as renderAfterPortlet, but doesn't
  directly print content
* getTrail: same as printTrail, but doesn't directly print
  content

Also made the existing print versions for the last two  use
the new getters.

Change-Id: I5621f585b501e47b40ae80e9cb12e6a32da72275
includes/skins/BaseTemplate.php