MediaWiki REL1_34
TitleArray.php
Go to the documentation of this file.
1<?php
28
35abstract class TitleArray implements Iterator {
42 static function newFromResult( $res ) {
43 $array = null;
44 if ( !Hooks::run( 'TitleArrayFromResult', [ &$array, $res ] ) ) {
45 return null;
46 }
47 return $array ?? new TitleArrayFromResult( $res );
48 }
49}
The TitleArray class only exists to provide the newFromResult method at pre- sent.
static newFromResult( $res)
Result wrapper for grabbing data queried from an IDatabase object.