* roughly equivalent to PHPTAL 0.7.
*
* @param string $classname
- * @param string $repository Subdirectory where we keep template files
- * @param string $cache_dir
+ * @param bool|string $repository Subdirectory where we keep template files
+ * @param bool|string $cache_dir
* @return QuickTemplate
* @private
*/
/**
* an array of edit links by default used for the tabs
+ * @param $content_navigation
* @return array
- * @private
*/
- function buildContentActionUrls( $content_navigation ) {
+ private function buildContentActionUrls( $content_navigation ) {
wfProfileIn( __METHOD__ );
$content_actions = array();
foreach ( $content_navigation as $links ) {
-
foreach ( $links as $key => $value ) {
-
if ( isset( $value['redundant'] ) && $value['redundant'] ) {
// Redundant tabs are dropped from content_actions
continue;
}
$content_actions[$key] = $value;
-
}
-
}
wfProfileOut( __METHOD__ );
return $content_actions;
}
- /**
+ /**
* build array of common navigation links
* @return array
- * @private
*/
protected function buildNavUrls() {
global $wgUploadNavigationUrl;
/**
* Generate strings used for xml 'id' names
* @return string
- * @private
*/
- function getNameSpaceKey() {
+ protected function getNameSpaceKey() {
return $this->getTitle()->getNamespaceKey();
}
}
* If you pass "flat" as an option then the returned array will be a flat array
* of footer icons instead of a key/value array of footerlinks arrays broken
* up into categories.
+ * @param string $option
* @return array|mixed
*/
function getFooterLinks( $option = null ) {
* in the list of footer icons. This is mostly useful for skins which only
* display the text from footericons instead of the images and don't want a
* duplicate copyright statement because footerlinks already rendered one.
+ * @param string $option
* @return string
*/
function getFooterIcons( $option = null ) {
<?php $this->html( 'reporttime' ) ?>
<?php
}
-
}