[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/db/ -> ORMResult.php (summary)

(no description)

File Size: 121 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ORMResult:: (9 methods):
  __construct()
  setCurrent()
  count()
  isEmpty()
  current()
  key()
  next()
  rewind()
  valid()


Class: ORMResult  - X-Ref

ORMIterator that takes a ResultWrapper object returned from
a select operation returning IORMRow objects (ie IORMTable::select).

Documentation inline and at https://www.mediawiki.org/wiki/Manual:ORMTable

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( IORMTable $table, ResultWrapper $res )   X-Ref

param: IORMTable $table
param: ResultWrapper $res

setCurrent( $row )   X-Ref

param: bool|object $row

count()   X-Ref

return: int

isEmpty()   X-Ref

return: bool

current()   X-Ref

return: IORMRow

key()   X-Ref

return: int

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