AbstractContentManagerOptionValue
in package
Class AbstractContentManagerOptionValue
Table of Contents
- $title : string
- $value : string
- __construct() : mixed
- AbstractContentManagerOptionValue constructor.
- createFromJsonObject() : AbstractContentManagerOptionValue
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setTitle() : void
- setValue() : void
- title() : string
- value() : string
Properties
$title
protected
string
$title
$value
protected
string
$value
Methods
__construct()
AbstractContentManagerOptionValue constructor.
public
__construct(string $value, string $title) : mixed
Parameters
- $value : string
- $title : string
Return values
mixed —createFromJsonObject()
public
static createFromJsonObject(stdClass $jsonObject) : AbstractContentManagerOptionValue
Parameters
- $jsonObject : stdClass
Return values
AbstractContentManagerOptionValue —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setTitle()
public
setTitle(string $title) : void
Parameters
- $title : string
Return values
void —setValue()
public
setValue(string $value) : void
Parameters
- $value : string
Return values
void —title()
public
title() : string
Return values
string —value()
public
value() : string