PHP Класс Sulu\Bundle\ContactBundle\Entity\ContactTitle

Наследование: implements JsonSerializabl\JsonSerializable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__toString ( ) : string Return the string representation of this title.
getId ( ) : integer Get id.
getTitle ( ) : string Get title.
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
setTitle ( string $title ) : ContactTitle Set title.

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

__toString() публичный метод

Return the string representation of this title.
public __toString ( ) : string
Результат string

getId() публичный метод

Get id.
public getId ( ) : integer
Результат integer

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

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

jsonSerialize() публичный метод

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
public jsonSerialize ( ) : mixed
Результат mixed data which can be serialized by json_encode, which is a value of any type other than a resource

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

Set title.
public setTitle ( string $title ) : ContactTitle
$title string
Результат ContactTitle