[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 661 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LogEventsList:: (21 methods):
__construct()
getDisplayTitle()
showOptions()
getFilterLinks()
getDefaultQuery()
getTypeMenu()
getTypeSelector()
getUserInput()
getTitleInput()
getTitlePattern()
getExtraInputs()
beginLogEventsList()
endLogEventsList()
logLine()
getShowHideLinks()
typeAction()
userCan()
userCanBitfield()
isDeleted()
showLogExtract()
getExcludeClause()
Class: LogEventsList - X-Ref
Contain classes to list log entries__construct( $context, $unused = null, $flags = 0 ) X-Ref |
Constructor. The first two parameters used to be $skin and $out, but now only a context is needed, that's why there's a second unused parameter. param: IContextSource|Skin $context Context to use; formerly it was param: null $unused Unused; used to be an OutputPage object. param: int $flags Can be a combination of self::NO_ACTION_LINK, |
getDisplayTitle() X-Ref |
Deprecated alias for getTitle(); do not use. return: Title |
showOptions( $types = array() X-Ref |
Show options for the log list param: array|string $types param: string $user param: string $page param: string $pattern param: int $year Year param: int $month Month param: array $filter param: string $tagFilter Tag to select by default |
getFilterLinks( $filter ) X-Ref |
param: array $filter return: string Formatted HTML |
getDefaultQuery() X-Ref |
No description |
getTypeMenu( $queryTypes ) X-Ref |
param: array $queryTypes return: string Formatted HTML |
getTypeSelector() X-Ref |
Returns log page selector. return: XmlSelect |
getUserInput( $user ) X-Ref |
param: string $user return: string Formatted HTML |
getTitleInput( $title ) X-Ref |
param: string $title return: string Formatted HTML |
getTitlePattern( $pattern ) X-Ref |
param: string $pattern return: string Checkbox |
getExtraInputs( $types ) X-Ref |
param: array $types return: string |
beginLogEventsList() X-Ref |
return: string |
endLogEventsList() X-Ref |
return: string |
logLine( $row ) X-Ref |
param: stdClass $row A single row from the result set return: string Formatted HTML list item |
getShowHideLinks( $row ) X-Ref |
param: stdClass $row Row return: string |
typeAction( $row, $type, $action, $right = '' ) X-Ref |
param: stdClass $row Row param: string|array $type param: string|array $action param: string $right return: bool |
userCan( $row, $field, User $user = null ) X-Ref |
Determine if the current user is allowed to view a particular field of this log row, if it's marked as deleted. param: stdClass $row Row param: int $field param: User $user User to check, or null to use $wgUser return: bool |
userCanBitfield( $bitfield, $field, User $user = null ) X-Ref |
Determine if the current user is allowed to view a particular field of this log row, if it's marked as deleted. param: int $bitfield Current field param: int $field param: User $user User to check, or null to use $wgUser return: bool |
isDeleted( $row, $field ) X-Ref |
param: stdClass $row Row param: int $field One of DELETED_* bitfield constants return: bool |
showLogExtract(&$out, $types = array() X-Ref |
Show log extract. Either with text and a box (set $msgKey) or without (don't set $msgKey) param: OutputPage|string $out By-reference param: string|array $types Log types to show param: string|Title $page The page title to show log entries for param: string $user The user who made the log entries param: array $param Associative Array with the following additional options: return: int Number of total log items (not limited by $lim) |
getExcludeClause( $db, $audience = 'public', User $user = null ) X-Ref |
SQL clause to skip forbidden log types for this user param: DatabaseBase $db param: string $audience Public/user param: User $user User to check, or null to use $wgUser return: string|bool String on success, false on failure. |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |