PHP 클래스 Bolt\Storage\Query\QueryResultset

상속: extends AppendIterator, implements Countable
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$results array

공개 메소드들

메소드 설명
add ( array $results, string $type = null )
count ( ) : integer Returns the total count
get ( string $label = null ) : ArrayIterator Allows retrieval of a set or results, if a label has been used to store results then passing the label as a parameter returns just that set of results.

메소드 상세

add() 공개 메소드

public add ( array $results, string $type = null )
$results array A set of results
$type string An optional label to partition results

count() 공개 메소드

Returns the total count
public count ( ) : integer
리턴 integer

get() 공개 메소드

Allows retrieval of a set or results, if a label has been used to store results then passing the label as a parameter returns just that set of results.
public get ( string $label = null ) : ArrayIterator
$label string
리턴 ArrayIterator

프로퍼티 상세

$results 보호되어 있는 프로퍼티

protected array $results
리턴 array