[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Contain classes to list log entries Copyright © 2004 Brion Vibber <[email protected]>, 2008 Aaron Schulz https://www.mediawiki.org/
File Size: | 391 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LogPager:: (19 methods):
__construct()
getDefaultQuery()
getFilterParams()
limitType()
limitPerformer()
limitTitle()
getQueryInfo()
hasEqualsClause()
getIndexField()
getStartBody()
formatRow()
getType()
getPerformer()
getPage()
getPattern()
getYear()
getMonth()
getTagFilter()
doQuery()
__construct( $list, $types = array() X-Ref |
Constructor param: LogEventsList $list param: string|array $types Log types to show param: string $performer The user who made the log entries param: string|Title $title The page title the log entries are for param: string $pattern Do a prefix search rather than an exact title match param: array $conds Extra conditions for the query param: int|bool $year The year to start from. Default: false param: int|bool $month The month to start from. Default: false param: string $tagFilter Tag |
getDefaultQuery() X-Ref |
No description |
getFilterParams() X-Ref |
No description |
limitType( $types ) X-Ref |
Set the log reader to return only entries of the given type. Type restrictions enforced here param: string|array $types Log types ('upload', 'delete', etc); |
limitPerformer( $name ) X-Ref |
Set the log reader to return only entries by the given user. param: string $name (In)valid user name return: void |
limitTitle( $page, $pattern ) X-Ref |
Set the log reader to return only entries affecting the given page. (For the block and rights logs, this is a user page.) param: string|Title $page Title name param: string $pattern return: void |
getQueryInfo() X-Ref |
Constructs the most part of the query. Extra conditions are sprinkled in all over this class. return: array |
hasEqualsClause( $field ) X-Ref |
Checks if $this->mConds has $field matched to a *single* value param: string $field return: bool |
getIndexField() X-Ref |
No description |
getStartBody() X-Ref |
No description |
formatRow( $row ) X-Ref |
No description |
getType() X-Ref |
No description |
getPerformer() X-Ref |
return: string |
getPage() X-Ref |
return: string |
getPattern() X-Ref |
No description |
getYear() X-Ref |
No description |
getMonth() X-Ref |
No description |
getTagFilter() X-Ref |
No description |
doQuery() X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |