[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/ -> TitleArrayFromResult.php (summary)

(no description)

File Size: 86 lines (2 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

TitleArrayFromResult:: (8 methods):
  __construct()
  setCurrent()
  count()
  current()
  key()
  next()
  rewind()
  valid()


Class: TitleArrayFromResult  - X-Ref

Class to walk into a list of Title objects.

Note: this entire file is a byte-for-byte copy of UserArrayFromResult.php
with s/User/Title/.  If anyone can figure out how to do this nicely
with inheritance or something, please do so.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
http://www.gnu.org/copyleft/gpl.html

__construct( $res )   X-Ref
No description

setCurrent( $row )   X-Ref

param: bool|ResultWrapper $row
return: void

count()   X-Ref

return: int

current()   X-Ref
No description

key()   X-Ref
No description

next()   X-Ref
No description

rewind()   X-Ref
No description

valid()   X-Ref

return: bool



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1