PHP Class Imbo\Model\Stats

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

Méthodes publiques

Méthode Description
getCustomStats ( ) : array Get custom stats
getData ( )
getNumBytes ( ) : integer Get the total amount of bytes
getNumImages ( ) : integer Get the total amount of bytes
getNumUsers ( ) : integer Get the number of users
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
setNumBytes ( integer $numBytes ) : Stats Set the number of bytes stored in Imbo
setNumImages ( integer $numImages ) : Stats Set the number of images stored in Imbo
setNumUsers ( integer $numUsers ) : Stats Set the number of users

Method Details

getCustomStats() public méthode

Get custom stats
public getCustomStats ( ) : array
Résultat array

getData() public méthode

public getData ( )

getNumBytes() public méthode

Get the total amount of bytes
public getNumBytes ( ) : integer
Résultat integer

getNumImages() public méthode

Get the total amount of bytes
public getNumImages ( ) : integer
Résultat integer

getNumUsers() public méthode

Get the number of users
public getNumUsers ( ) : integer
Résultat integer

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

setNumBytes() public méthode

Set the number of bytes stored in Imbo
public setNumBytes ( integer $numBytes ) : Stats
$numBytes integer The number of bytes stored in Imbo
Résultat Stats

setNumImages() public méthode

Set the number of images stored in Imbo
public setNumImages ( integer $numImages ) : Stats
$numImages integer The number of images stored in Imbo
Résultat Stats

setNumUsers() public méthode

Set the number of users
public setNumUsers ( integer $numUsers ) : Stats
$numUsers integer The number of users that has one or more images
Résultat Stats