var $useHeadElement = true;
/**
- * @param $out OutputPage
+ * @param OutputPage $out
*/
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
/**
* Override langlink formatting behavior not to uppercase the language names.
* See otherLanguages() in CologneBlueTemplate.
+ * @param string $name
+ * @return string
*/
function formatLanguageName( $name ) {
return $name;
/**
* Used in bottomLinks() to eliminate repetitive code.
*
- * @param $key string Key to be passed to makeListItem()
- * @param $navlink array Navlink suitable for processNavlinkForDocument()
- * @param $message string Key of the message to use in place of standard text
+ * @param string $key Key to be passed to makeListItem()
+ * @param array $navlink Navlink suitable for processNavlinkForDocument()
+ * @param string $message Key of the message to use in place of standard text
*
* @return string
*/
* and removes the accesskeys. This is necessary to be able to use the same navlink twice,
* e.g. in sidebar and in footer.
*
- * @param $navlink array Navigational link generated by SkinTemplate
- * @param $idPrefix mixed Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'.
+ * @param array $navlink Navigational link generated by SkinTemplate
+ * @param mixed $idPrefix Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'.
*/
function processNavlinkForDocument( $navlink, $idPrefix = 'cb-' ) {
if ( $navlink['id'] ) {
/**
* Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus.
*
- * @param $bar sidebar data
- * @return array modified sidebar data
+ * @param array $bar Sidebar data
+ * @return array Modified sidebar data
*/
function sidebarAdditions( $bar ) {
// "This page" and "Edit" menus
}
/**
- * @param $label string
+ * @param string $label
* @return string
*/
function searchForm( $which ) {
$template = 'ModernTemplate', $useHeadElement = true;
/**
- * @param $out OutputPage
+ * @param OutputPage $out
*/
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
$template = 'MonoBookTemplate', $useHeadElement = true;
/**
- * @param $out OutputPage
+ * @param OutputPage $out
*/
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
/*************************************************************************************************/
/**
- * @param $sidebar array
+ * @param array $sidebar
*/
protected function renderPortals( $sidebar ) {
if ( !isset( $sidebar['SEARCH'] ) ) {
/*************************************************************************************************/
/**
- * @param $bar string
- * @param $cont array|string
+ * @param string $bar
+ * @param array|string $cont
*/
function customBox( $bar, $cont ) {
$portletAttribs = array( 'class' => 'generated-sidebar portlet', 'id' => Sanitizer::escapeId( "p-$bar" ), 'role' => 'navigation' );
/**
* Initializes output page and sets up skin-specific parameters
- * @param $out OutputPage object to initialize
+ * @param OutputPage $out Object to initialize
*/
public function initPage( OutputPage $out ) {
global $wgLocalStylePath;
/**
* Loads skin and user CSS files.
- * @param $out OutputPage object
+ * @param OutputPage $out
*/
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
/**
* Adds classes to the body element.
*
- * @param $out OutputPage object
- * @param &$bodyAttrs Array of attributes that will be set on the body element
+ * @param OutputPage $out
+ * @param array &$bodyAttrs Array of attributes that will be set on the body element
*/
function addToBodyAttributes( $out, &$bodyAttrs ) {
if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) {
/**
* Render a series of portals
*
- * @param $portals array
+ * @param array $portals
*/
protected function renderPortals( $portals ) {
// Force the rendering of the following portals
}
/**
- * @param $name string
- * @param $content array
- * @param $msg null|string
- * @param $hook null|string|array
+ * @param string $name
+ * @param array $content
+ * @param null|string $msg
+ * @param null|string|array $hook
*/
protected function renderPortal( $name, $content, $msg = null, $hook = null ) {
if ( $msg === null ) {
* Render one or more navigations elements by name, automatically reveresed
* when UI is in RTL mode
*
- * @param $elements array
+ * @param array $elements
*/
protected function renderNavigation( $elements ) {
global $wgVectorUseSimpleSearch;