MediaWiki
REL1_24
|
00001 <?php 00031 abstract class TitleArray implements Iterator { 00038 static function newFromResult( $res ) { 00039 $array = null; 00040 if ( !wfRunHooks( 'TitleArrayFromResult', array( &$array, $res ) ) ) { 00041 return null; 00042 } 00043 if ( $array === null ) { 00044 $array = self::newFromResult_internal( $res ); 00045 } 00046 return $array; 00047 } 00048 00053 protected static function newFromResult_internal( $res ) { 00054 $array = new TitleArrayFromResult( $res ); 00055 return $array; 00056 } 00057 }