PHP Class Imbo\Model\ArrayModel

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

Public Methods

Method Description
getData ( )
getTitle ( ) : string Get the title of the model
setData ( array $data ) : ArrayModel Set the data
setTitle ( string $title ) : ArrayModel Set the title of the model

Method Details

getData() public method

public getData ( )

getTitle() public method

Get the title of the model
public getTitle ( ) : string
return string

setData() public method

Set the data
public setData ( array $data ) : ArrayModel
$data array The data to set
return ArrayModel

setTitle() public method

Set the title of the model
public setTitle ( string $title ) : ArrayModel
$title string The title of the model, for instance "Statistics"
return ArrayModel