TitleArray Class Reference

Note: this entire file is a byte-for-byte copy of UserArray.php with s/User/Title/. More...

Inherited by TitleArrayFromResult.

List of all members.

Static Public Member Functions

static newFromResult ($res)

Static Protected Member Functions

static newFromResult_internal ($res)


Detailed Description

Note: this entire file is a byte-for-byte copy of UserArray.php with s/User/Title/.

If anyone can figure out how to do this nicely with inheri- tance or something, please do so. The TitleArray class only exists to provide the newFromResult method at pre- sent.

Definition at line 12 of file TitleArray.php.


Member Function Documentation

static TitleArray::newFromResult ( res  )  [static]

Parameters:
$res result A MySQL 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:
TitleArray

Definition at line 19 of file TitleArray.php.

References $res, newFromResult_internal(), and wfRunHooks().

Referenced by MovePageForm::doSubmit(), BacklinkCache::getLinks(), Category::getMembers(), and Title::getSubpages().

static TitleArray::newFromResult_internal ( res  )  [static, protected]

Definition at line 30 of file TitleArray.php.

References $res.

Referenced by newFromResult().


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

Generated on Sat Sep 5 02:08:48 2009 for MediaWiki by  doxygen 1.5.9