RDF
[ class tree: RDF ] [ index: RDF ] [ all elements ]

Class: RDF_FindIterator

Source Location: /RDF-0.1.0alpha1/RDF/FindIterator.php

Class Overview

RDF_Object
   |
   --RDF_FindIterator

Iterator for traversing statements matching a searchpattern.


Author(s):

Version:

  • V0.81

Variables

Methods


Inherited Variables

Inherited Methods

Class: RDF_Object

RDF_Object::factory()
RDF_Object::toString()
Serializes a object into a string

Class Details

[line 20]
Iterator for traversing statements matching a searchpattern.

RDF_FindIterators are returned by model->findAsIterator() Using a find iterator is significantly faster than using model->find() which returns a new result model.



[ Top ]


Class Variables

$object =

[line 46]


Type:   mixed


[ Top ]

$predicate =

[line 45]


Type:   mixed


[ Top ]



Method Detail

RDF_FindIterator (Constructor)   [line 57]

RDF_FindIterator RDF_FindIterator( object Model_Memory &$model, object Subject &$sub, object Predicate &$pred, object Object &$obj)

Constructor
  • Access: public

Parameters:

object Model_Memory   &$model   — 
object Subject   &$sub   — 
object Predicate   &$pred   — 
object Object   &$obj   — 

[ Top ]

current   [line 101]

statement current( )

Returns the current matching statement.
  • Return: or NULL if there is no current matching statement.
  • Access: public

[ Top ]

hasNext   [line 71]

boolean hasNext( )

Returns true if there are more matching statements.
  • Access: public

[ Top ]

next   [line 85]

tatement next( )

Returns the next matching statement.
  • Return: or NULL if there is no next matching statement.
  • Access: public

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:32:54 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.