class Cse implements Zend_Paginator_Adapter_Interface, Zend_Paginator_AdapterAggregate, Iterator (View source)

Properties

array $results
int $total
int $offset
int $perPage
array $config
string $query
array $raw
array $facets

Methods

static Cse
search($query, int $offset, int $perPage = 10, array $config = array(), null $facet = null)

No description

load()

No description

__construct(null|mixed $googleResponse = null)

No description

readGoogleResponse($googleResponse)

No description

$this
setOffset($offset)

No description

int
getOffset()

No description

$this
setRaw($raw)

No description

array
getRaw()

No description

$this
setTotal($total)

No description

int
getTotal()

No description

$this
setPerPage($perPage)

No description

int
getPerPage()

No description

$this
setConfig($config)

No description

array
getConfig()

No description

$this
setQuery($query)

No description

string
getQuery()

No description

$this
setResults($results)

No description

array
getResults($retry = true)

No description

$this
setFacets($facets)

No description

array
getFacets()

No description

int
count()

No description

array
getItems(int $offset, int $itemCountPerPage)

No description

$this|Zend_Paginator_Adapter_Interface
getPaginatorAdapter()

No description

rewind()

Methods for Iterator

current()

No description

key()

No description

next()

No description

valid()

No description

Details

Parameters

$query
int $offset
int $perPage
array $config
null $facet

Return Value

Cse

at line line 51
load()

at line line 156
__construct(null|mixed $googleResponse = null)

Parameters

null|mixed $googleResponse

at line line 166
readGoogleResponse($googleResponse)

Parameters

$googleResponse

at line line 251
$this setOffset($offset)

Parameters

$offset

Return Value

$this

at line line 261
int getOffset()

Return Value

int

at line line 270
$this setRaw($raw)

Parameters

$raw

Return Value

$this

at line line 280
array getRaw()

Return Value

array

at line line 289
$this setTotal($total)

Parameters

$total

Return Value

$this

at line line 299
int getTotal()

Return Value

int

at line line 308
$this setPerPage($perPage)

Parameters

$perPage

Return Value

$this

at line line 318
int getPerPage()

Return Value

int

at line line 327
$this setConfig($config)

Parameters

$config

Return Value

$this

at line line 337
array getConfig()

Return Value

array

at line line 346
$this setQuery($query)

Parameters

$query

Return Value

$this

at line line 356
string getQuery()

Return Value

string

at line line 365
$this setResults($results)

Parameters

$results

Return Value

$this

at line line 375
array getResults($retry = true)

Parameters

$retry

Return Value

array

at line line 388
$this setFacets($facets)

Parameters

$facets

Return Value

$this

at line line 398
array getFacets()

Return Value

array

at line line 411
int count()

Return Value

int

at line line 423
array getItems(int $offset, int $itemCountPerPage)

Parameters

int $offset
int $itemCountPerPage

Return Value

array

at line line 436
$this|Zend_Paginator_Adapter_Interface getPaginatorAdapter()

Return Value

$this|Zend_Paginator_Adapter_Interface

at line line 447
rewind()

Methods for Iterator

at line line 452
current()

at line line 460
key()

at line line 468
next()

at line line 476
valid()