[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

(no description)

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

Defines 2 classes

SpecialListFiles:: (3 methods):
  __construct()
  execute()
  getGroupName()

ImageListPager:: (18 methods):
  __construct()
  buildQueryConds()
  getFieldNames()
  isFieldSortable()
  getQueryInfo()
  getQueryInfoReal()
  reallyDoQuery()
  combineResult()
  getDefaultSort()
  doBatchLookups()
  formatValue()
  getForm()
  getTableClass()
  getNavClass()
  getSortHeaderClass()
  getPagingQueries()
  getDefaultQuery()
  getTitle()


Class: SpecialListFiles  - X-Ref

Implements Special:Listfiles

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.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
http://www.gnu.org/copyleft/gpl.html

__construct()   X-Ref
No description

execute( $par )   X-Ref
No description

getGroupName()   X-Ref
No description

Class: ImageListPager  - X-Ref


__construct( IContextSource $context, $userName = null, $search = '',$including = false, $showAll = false)   X-Ref
No description

buildQueryConds( $table )   X-Ref
Build the where clause of the query.

Replaces the older mQueryConds member variable.
param: string $table Either "image" or "oldimage"
return: array The query conditions.

getFieldNames()   X-Ref

return: array

isFieldSortable( $field )   X-Ref
No description

getQueryInfo()   X-Ref
No description

getQueryInfoReal( $table )   X-Ref
Actually get the query info.

This is to allow displaying both stuff from image and oldimage table.

This is a bit hacky.

param: string $table Either 'image' or 'oldimage'
return: array Query info

reallyDoQuery( $offset, $limit, $asc )   X-Ref
Override reallyDoQuery to mix together two queries.

param: int $offset
param: int $limit
param: bool $asc
return: array

combineResult( $res1, $res2, $limit, $ascending )   X-Ref
Combine results from 2 tables.

Note: This will throw away some results

param: ResultWrapper $res1
param: ResultWrapper $res2
param: int $limit
param: bool $ascending See note about $asc in $this->reallyDoQuery
return: FakeResultWrapper $res1 and $res2 combined

getDefaultSort()   X-Ref
No description

doBatchLookups()   X-Ref
No description

formatValue( $field, $value )   X-Ref

param: string $field
param: string $value
return: Message|string|int The return type depends on the value of $field:

getForm()   X-Ref
No description

getTableClass()   X-Ref
No description

getNavClass()   X-Ref
No description

getSortHeaderClass()   X-Ref
No description

getPagingQueries()   X-Ref
No description

getDefaultQuery()   X-Ref
No description

getTitle()   X-Ref
No description



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