[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

Implements Special:Listusers Copyright © 2004 Brion Vibber, lcrocker, Tim Starling, Domas Mituzas, Antoine Musso, Jens Frank, Zhengzhu, 2006 Rob Church <[email protected]>

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

Defines 4 classes

UsersPager:: (10 methods):
  __construct()
  getIndexField()
  getQueryInfo()
  formatRow()
  doBatchLookups()
  getPageHeader()
  getAllGroups()
  getDefaultQuery()
  getGroups()
  buildGroupLink()

SpecialListUsers:: (4 methods):
  __construct()
  execute()
  prefixSearchSubpages()
  getGroupName()

SpecialListAdmins:: (1 method):
  __construct()

SpecialListBots:: (1 method):
  __construct()


Class: UsersPager  - X-Ref

This class is used to get a list of user. The ones with specials
rights (sysop, bureaucrat, developer) will have them displayed
next to their names.

__construct( IContextSource $context = null, $par = null, $including = null )   X-Ref

param: IContextSource $context
param: array $par (Default null)
param: bool $including Whether this page is being transcluded in

getIndexField()   X-Ref

return: string

getQueryInfo()   X-Ref

return: array

formatRow( $row )   X-Ref

param: stdClass $row
return: string

doBatchLookups()   X-Ref
No description

getPageHeader()   X-Ref

return: string

getAllGroups()   X-Ref
Get a list of all explicit groups

return: array

getDefaultQuery()   X-Ref
Preserve group and username offset parameters when paging

return: array

getGroups( $uid )   X-Ref
Get a list of groups the specified user belongs to

param: int $uid User id
return: array

buildGroupLink( $group, $username )   X-Ref
Format a link to a group description page

param: string $group Group name
param: string $username Username
return: string

Class: SpecialListUsers  - X-Ref


__construct()   X-Ref
Constructor


execute( $par )   X-Ref
Show the special page

param: string $par (optional) A group to list users from

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

Class: SpecialListAdmins  - X-Ref

Redirect page: Special:ListAdmins --> Special:ListUsers/sysop.

__construct()   X-Ref
No description

Class: SpecialListBots  - X-Ref

Redirect page: Special:ListBots --> Special:ListUsers/bot.

__construct()   X-Ref
No description



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