PHP Class Imbo\Model\Status

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
getData ( )
getDatabaseStatus ( ) : boolean Get the database status
getDate ( ) : DateTime Get the date
getStorageStatus ( ) : boolean Get the storage status
setDatabaseStatus ( boolean $status ) : Status Set the database status
setDate ( DateTime $date ) : Status Set the date
setStorageStatus ( boolean $status ) : Status Set the storage status

Method Details

getData() public méthode

public getData ( )

getDatabaseStatus() public méthode

Get the database status
public getDatabaseStatus ( ) : boolean
Résultat boolean

getDate() public méthode

Get the date
public getDate ( ) : DateTime
Résultat DateTime

getStorageStatus() public méthode

Get the storage status
public getStorageStatus ( ) : boolean
Résultat boolean

setDatabaseStatus() public méthode

Set the database status
public setDatabaseStatus ( boolean $status ) : Status
$status boolean The status flag
Résultat Status

setDate() public méthode

Set the date
public setDate ( DateTime $date ) : Status
$date DateTime A DateTime instance
Résultat Status

setStorageStatus() public méthode

Set the storage status
public setStorageStatus ( boolean $status ) : Status
$status boolean The status flag
Résultat Status