MediaWiki REL1_32
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)
 

Static Protected Member Functions

static newFromResult_internal ( $res)
 

Detailed Description

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

Definition at line 33 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 40 of file TitleArray.php.

References $res, and newFromResult_internal().

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

◆ newFromResult_internal()

static TitleArray::newFromResult_internal (   $res)
staticprotected
Parameters
IResultWrapper$res
Returns
TitleArrayFromResult

Definition at line 55 of file TitleArray.php.

References $res.

Referenced by newFromResult().


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