PHP Class Imbo\Model\Groups

Author: Espen Hovlandsdal ([email protected])
Inheritance: implements Imbo\Model\ModelInterface
Datei anzeigen Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
getCount ( ) : integer Get the number of groups
getData ( )
getGroups ( ) : array Get the groups
getHits ( ) : integer Get the hits property
getLimit ( ) : integer Get the limit
getPage ( ) : integer Get the page
setGroups ( array $groups ) : Groups Set the array of groups
setHits ( integer $hits ) : self Set the hits property
setLimit ( integer $limit ) : self Set the limit
setPage ( integer $page ) : self Set the page

Method Details

getCount() public method

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

getData() public method

public getData ( )

getGroups() public method

Get the groups
public getGroups ( ) : array
return array

getHits() public method

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

getLimit() public method

Get the limit
public getLimit ( ) : integer
return integer

getPage() public method

Get the page
public getPage ( ) : integer
return integer

setGroups() public method

Set the array of groups
public setGroups ( array $groups ) : Groups
$groups array An array of groups
return Groups

setHits() public method

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

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