PHP Class Imbo\Model\ArrayModel

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 ( )
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 méthode

public getData ( )

getTitle() public méthode

Get the title of the model
public getTitle ( ) : string
Résultat string

setData() public méthode

Set the data
public setData ( array $data ) : ArrayModel
$data array The data to set
Résultat ArrayModel

setTitle() public méthode

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