MediaWiki  1.34.0
TitleArray Class Reference

The TitleArray class only exists to provide the newFromResult method at pre- sent. More...

Inheritance diagram for TitleArray:
Collaboration diagram for TitleArray:

Static Public Member Functions

static newFromResult ( $res)
 

Detailed Description

The TitleArray class only exists to provide the newFromResult method at pre- sent.

@method int count()

Definition at line 35 of file TitleArray.php.

Member Function Documentation

◆ newFromResult()

static TitleArray::newFromResult (   $res)
static
Parameters
IResultWrapper$resA SQL result including at least page_namespace and page_title – also can have page_id, page_len, page_is_redirect, page_latest (if those will be used). See Title::newFromRow.
Returns
TitleArrayFromResult

Definition at line 42 of file TitleArray.php.

References $res, and Hooks\run().

Referenced by PrefixSearch\defaultSearchBackend(), MovePageForm\doSubmit(), BacklinkCache\getCascadeProtectedLinks(), WikiPage\getCategories(), WikiFilePage\getForeignCategories(), BacklinkCache\getLinks(), Category\getMembers(), Title\getSubpages(), and HTMLCacheUpdateJob\invalidateTitles().


The documentation for this class was generated from the following file: