PHP Class Imbo\Model\Images

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

Méthodes publiques

Méthode 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 méthode

Get the number of images
public getCount ( ) : integer
Résultat integer

getData() public méthode

public getData ( )

getFields() public méthode

Get the fields to display
public getFields ( ) : string[]
Résultat string[]

getHits() public méthode

Get the hits property
public getHits ( ) : integer
Résultat integer

getImages() public méthode

Get the images
public getImages ( ) : Image[]
Résultat Image[]

getLimit() public méthode

Get the limit
public getLimit ( ) : integer
Résultat integer

getPage() public méthode

Get the page
public getPage ( ) : integer
Résultat integer

setFields() public méthode

Set the fields to display
public setFields ( array $fields ) : self
$fields array
Résultat self

setHits() public méthode

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

setImages() public méthode

Set the array of images
public setImages ( array $images ) : Images
$images array An array of Image models
Résultat Images

setLimit() public méthode

Set the limit
public setLimit ( integer $limit ) : self
$limit integer The limit
Résultat self

setPage() public méthode

Set the page
public setPage ( integer $page ) : self
$page integer The page
Résultat self