[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialJavaScriptTest.php (summary)

Implements Special:JavaScriptTest 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: 193 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SpecialJavaScriptTest:: (7 methods):
  __construct()
  execute()
  getFrameworkListHtml()
  wrapSummaryHtml()
  initQUnitTesting()
  prefixSearchSubpages()
  getGroupName()


Class: SpecialJavaScriptTest  - X-Ref


__construct()   X-Ref


execute( $par )   X-Ref
No description

getFrameworkListHtml()   X-Ref
Get a list of frameworks (including introduction paragraph and links
to the framework run pages)

return: string HTML

wrapSummaryHtml( $html, $state )   X-Ref
Function to wrap the summary.
It must be given a valid state as a second parameter or an exception will
be thrown.

param: string $html The raw HTML.
param: string $state State, one of 'noframework', 'unknownframework' or 'frameworkfound'
return: string

initQUnitTesting()   X-Ref
Initialize the page for QUnit.


prefixSearchSubpages( $search, $limit = 10 )   X-Ref
Return an array of subpages beginning with $search that this special page will accept.

param: string $search Prefix to search for
param: int $limit Maximum number of results to return
return: string[] Matching subpages

getGroupName()   X-Ref
No description



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