PHP Class Imbo\Model\Images

Author: Christer Edvartsen ([email protected])
Inheritance: implements Imbo\Model\ModelInterface
Exibir arquivo Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
getCount ( ) : integer Get the number of images
getData ( )
getFields ( ) : string[] Get the fields to display
getHits ( ) : integer Get the hits property
getImages ( ) : Image[] Get the images
getLimit ( ) : integer Get the limit
getPage ( ) : integer Get the page
setFields ( array $fields ) : self Set the fields to display
setHits ( integer $hits ) : self Set the hits property
setImages ( array $images ) : Images Set the array of images
setLimit ( integer $limit ) : self Set the limit
setPage ( integer $page ) : self Set the page

Method Details

getCount() public method

Get the number of images
public getCount ( ) : integer
return integer

getData() public method

public getData ( )

getFields() public method

Get the fields to display
public getFields ( ) : string[]
return string[]

getHits() public method

Get the hits property
public getHits ( ) : integer
return integer

getImages() public method

Get the images
public getImages ( ) : Image[]
return Image[]

getLimit() public method

Get the limit
public getLimit ( ) : integer
return integer

getPage() public method

Get the page
public getPage ( ) : integer
return integer

setFields() public method

Set the fields to display
public setFields ( array $fields ) : self
$fields array
return self

setHits() public method

Set the hits property
public setHits ( integer $hits ) : self
$hits integer The amount of query hits
return self

setImages() public method

Set the array of images
public setImages ( array $images ) : Images
$images array An array of Image models
return Images

setLimit() public method

Set the limit
public setLimit ( integer $limit ) : self
$limit integer The limit
return self

setPage() public method

Set the page
public setPage ( integer $page ) : self
$page integer The page
return self