| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Implements Special:MIMESearch 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.
| Author: | Ævar Arnfjörð Bjarmason <[email protected]> |
| File Size: | 201 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
MIMEsearchPage:: (12 methods):
__construct()
isExpensive()
isSyndicated()
isCacheable()
linkParameters()
getQueryInfo()
getOrderFields()
getPageHeader()
execute()
formatResult()
isValidType()
getGroupName()
Class: MIMEsearchPage - X-Ref
Searches the database for files of the requested MIME type, comparing this with the| __construct( $name = 'MIMEsearch' ) X-Ref |
| No description |
| isExpensive() X-Ref |
| No description |
| isSyndicated() X-Ref |
| No description |
| isCacheable() X-Ref |
| No description |
| linkParameters() X-Ref |
| No description |
| getQueryInfo() X-Ref |
| No description |
| getOrderFields() X-Ref |
| The index is on (img_media_type, img_major_mime, img_minor_mime) which unfortunately doesn't have img_name at the end for sorting. So tell db to sort it however it wishes (Its not super important that this report gives results in a logical order). As an aditional note, mysql seems to by default order things by img_name ASC, which is what we ideally want, so everything works out fine anyhow. return: array |
| getPageHeader() X-Ref |
| Return HTML to put just before the results. |
| execute( $par ) X-Ref |
| No description |
| formatResult( $skin, $result ) X-Ref |
param: Skin $skin param: object $result Result row return: string |
| isValidType( $type ) X-Ref |
param: string $type return: bool |
| getGroupName() X-Ref |
| No description |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |