PHP Класс Imbo\Model\ArrayModel

Автор: Christer Edvartsen ([email protected])
Наследование: implements Imbo\Model\ModelInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

getData() публичный Метод

public getData ( )

getTitle() публичный Метод

Get the title of the model
public getTitle ( ) : string
Результат string

setData() публичный Метод

Set the data
public setData ( array $data ) : ArrayModel
$data array The data to set
Результат ArrayModel

setTitle() публичный Метод

Set the title of the model
public setTitle ( string $title ) : ArrayModel
$title string The title of the model, for instance "Statistics"
Результат ArrayModel