Method | 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 ) : |
Set title. |
public __toString ( ) : string | ||
return | string |
public jsonSerialize ( ) : mixed | ||
return | mixed | data which can be serialized by json_encode, which is a value of any type other than a resource |