[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/content/ -> CodeContentHandler.php (summary)

Content handler for the pages with code, such as CSS, JavaScript, JSON. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 65 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  getPageLanguage()
  getPageViewLanguage()
  getContentClass()

Functions
Functions that are not part of a class:

getPageLanguage( Title $title, Content $content = null )   X-Ref
Returns the english language, because code is english, and should be handled as such.

param: Title $title
param: Content $content
return: Language Return of wfGetLangObj( 'en' )

getPageViewLanguage( Title $title, Content $content = null )   X-Ref
Returns the english language, because code is english, and should be handled as such.

param: Title $title
param: Content $content
return: Language Return of wfGetLangObj( 'en' )

getContentClass()   X-Ref

return: string



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1