PHP Class Imbo\Model\Status

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

Public Methods

Method 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 method

public getData ( )

getDatabaseStatus() public method

Get the database status
public getDatabaseStatus ( ) : boolean
return boolean

getDate() public method

Get the date
public getDate ( ) : DateTime
return DateTime

getStorageStatus() public method

Get the storage status
public getStorageStatus ( ) : boolean
return boolean

setDatabaseStatus() public method

Set the database status
public setDatabaseStatus ( boolean $status ) : Status
$status boolean The status flag
return Status

setDate() public method

Set the date
public setDate ( DateTime $date ) : Status
$date DateTime A DateTime instance
return Status

setStorageStatus() public method

Set the storage status
public setStorageStatus ( boolean $status ) : Status
$status boolean The status flag
return Status