Cse
class Cse implements Zend_Paginator_Adapter_Interface, Zend_Paginator_AdapterAggregate, Iterator, AdapterInterface, AdapterAggregateInterface (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 = 0, int $perPage = 10, array $config = [], null $facet = null)
No description
load()
No description
__construct(null|mixed $googleResponse = null)
No description
readGoogleResponse(Google_Service_Customsearch_Search $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(bool $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
mixed
current()
No description
mixed
key()
No description
mixed
next()
No description
bool
valid()
No description
Details
at line 34
static Cse
search($query, int $offset = 0, int $perPage = 10, array $config = [], null $facet = null)
at line 49
load()
at line 148
__construct(null|mixed $googleResponse = null)
at line 158
readGoogleResponse(Google_Service_Customsearch_Search $googleResponse)
at line 230
$this
setOffset($offset)
at line 240
int
getOffset()
at line 250
$this
setRaw($raw)
at line 260
array
getRaw()
at line 270
$this
setTotal($total)
at line 280
int
getTotal()
at line 290
$this
setPerPage($perPage)
at line 300
int
getPerPage()
at line 310
$this
setConfig($config)
at line 320
array
getConfig()
at line 330
$this
setQuery($query)
at line 340
string
getQuery()
at line 350
$this
setResults($results)
at line 362
array
getResults(bool $retry = true)
at line 376
$this
setFacets($facets)
at line 386
array
getFacets()
at line 398
int
count()
at line 411
array
getItems(int $offset, int $itemCountPerPage)
at line 424
$this|Zend_Paginator_Adapter_Interface
getPaginatorAdapter()
at line 432
rewind()
Methods for Iterator