PHP Class Elastica\Multi\ResultSet

Author: munkie
Inheritance: implements Iterator, implements ArrayAccess, implements Countable
Afficher le fichier Open project: ruflin/elastica

Protected Properties

Свойство Type Description
$_position Current position.
$_response Response.
$_resultSets Result Sets.

Méthodes publiques

Méthode Description
__construct ( Response $response, $resultSets ) Constructs ResultSet object.
count ( ) : integer
current ( ) : boolean | ResultSet
getResponse ( ) : Response Returns response object.
getResultSets ( ) : array | ResultSet[]
hasError ( ) : boolean There is at least one result set with error.
key ( ) : integer
next ( )
offsetExists ( string | integer $offset ) : boolean
offsetGet ( mixed $offset ) : mixed
offsetSet ( mixed $offset, mixed $value )
offsetUnset ( mixed $offset )
rewind ( )
valid ( ) : boolean

Method Details

__construct() public méthode

Constructs ResultSet object.
public __construct ( Response $response, $resultSets )
$response Elastica\Response

count() public méthode

public count ( ) : integer
Résultat integer

current() public méthode

public current ( ) : boolean | ResultSet
Résultat boolean | Elastica\ResultSet

getResponse() public méthode

Returns response object.
public getResponse ( ) : Response
Résultat Elastica\Response Response object

getResultSets() public méthode

public getResultSets ( ) : array | ResultSet[]
Résultat array | Elastica\ResultSet[]

hasError() public méthode

There is at least one result set with error.
public hasError ( ) : boolean
Résultat boolean

key() public méthode

public key ( ) : integer
Résultat integer

next() public méthode

public next ( )

offsetExists() public méthode

public offsetExists ( string | integer $offset ) : boolean
$offset string | integer
Résultat boolean true on success or false on failure.

offsetGet() public méthode

public offsetGet ( mixed $offset ) : mixed
$offset mixed
Résultat mixed Can return all value types.

offsetSet() public méthode

public offsetSet ( mixed $offset, mixed $value )
$offset mixed
$value mixed

offsetUnset() public méthode

public offsetUnset ( mixed $offset )
$offset mixed

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( ) : boolean
Résultat boolean

Property Details

$_position protected_oe property

Current position.
protected $_position

$_response protected_oe property

Response.
protected $_response

$_resultSets protected_oe property

Result Sets.
protected $_resultSets