PHP Класс Elastica\Multi\ResultSet

Автор: munkie
Наследование: implements Iterator, implements ArrayAccess, implements Countable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_position Current position.
$_response Response.
$_resultSets Result Sets.

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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

count() публичный Метод

public count ( ) : integer
Результат integer

current() публичный Метод

public current ( ) : boolean | ResultSet
Результат boolean | Elastica\ResultSet

getResponse() публичный Метод

Returns response object.
public getResponse ( ) : Response
Результат Elastica\Response Response object

getResultSets() публичный Метод

public getResultSets ( ) : array | ResultSet[]
Результат array | Elastica\ResultSet[]

hasError() публичный Метод

There is at least one result set with error.
public hasError ( ) : boolean
Результат boolean

key() публичный Метод

public key ( ) : integer
Результат integer

next() публичный Метод

public next ( )

offsetExists() публичный Метод

public offsetExists ( string | integer $offset ) : boolean
$offset string | integer
Результат boolean true on success or false on failure.

offsetGet() публичный Метод

public offsetGet ( mixed $offset ) : mixed
$offset mixed
Результат mixed Can return all value types.

offsetSet() публичный Метод

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

offsetUnset() публичный Метод

public offsetUnset ( mixed $offset )
$offset mixed

rewind() публичный Метод

public rewind ( )

valid() публичный Метод

public valid ( ) : boolean
Результат boolean

Описание свойств

$_position защищенное свойство

Current position.
protected $_position

$_response защищенное свойство

Response.
protected $_response

$_resultSets защищенное свойство

Result Sets.
protected $_resultSets