PHP Class Sulu\Bundle\ContactBundle\Entity\ContactTitle

Inheritance: implements JsonSerializabl\JsonSerializable
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__toString() public méthode

Return the string representation of this title.
public __toString ( ) : string
Résultat string

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getTitle() public méthode

Get title.
public getTitle ( ) : string
Résultat string

jsonSerialize() public méthode

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
public jsonSerialize ( ) : mixed
Résultat mixed data which can be serialized by json_encode, which is a value of any type other than a resource

setTitle() public méthode

Set title.
public setTitle ( string $title ) : ContactTitle
$title string
Résultat ContactTitle