Language
Tags
Table of Contents
- $code : string
- $id : int
- $state : bool
- $title : string
- __construct() : mixed
- getCode() : string
- Returns code
- getId() : int
- Return ID
- getState() : bool
- Returns state
- getTitle() : string
- Returns title
- setCode() : self
- Sets code
- setState() : self
- Sets state
- setTitle() : self
- Sets title
Properties
$code
protected
string
$code
Tags
$id
protected
int
$id
Tags
$state
protected
bool
$state
Tags
$title
protected
string
$title
Tags
Methods
__construct()
public
__construct([string $code = "" ][, string $title = "" ][, bool $state = true ]) : mixed
Parameters
- $code : string = ""
- $title : string = ""
- $state : bool = true
Return values
mixed —getCode()
Returns code
public
getCode() : string
Return values
string —getId()
Return ID
public
getId() : int
Return values
int —getState()
Returns state
public
getState() : bool
Return values
bool —getTitle()
Returns title
public
getTitle() : string
Return values
string —setCode()
Sets code
public
setCode(string $code) : self
Parameters
- $code : string
Return values
self —setState()
Sets state
public
setState(bool $state) : self
Parameters
- $state : bool
Return values
self —setTitle()
Sets title
public
setTitle(string $title) : self
Parameters
- $title : string