Contributor
The model class of Contributor (ex. writer)
Tags
Table of Contents
- $id : int
- $name : string
- $order : int
- $typeId : string
- $typeName : string
- __construct() : mixed
- Contributor constructor
- getId() : int
- Get the id of the contributor
- getName() : string
- Get the name of the contributor
- getOrder() : int
- Get the order of the contributor
- getTypeId() : int
- Get the type id of the contributor
- getTypeName() : string
- Get the type name of the contributor
Properties
$id
private
int
$id
$name
private
string
$name
$order
private
int
$order
$typeId
private
string
$typeId
$typeName
private
string
$typeName
Methods
__construct()
Contributor constructor
public
__construct(int $id, string $name[, int $typeId = 1 ][, string $typeName = 'Συγγραφέας' ], int $order) : mixed
Parameters
- $id : int
-
contributor id
- $name : string
-
contributor name
- $typeId : int = 1
-
contributor type id
- $typeName : string = 'Συγγραφέας'
-
contributor type name
- $order : int
-
contributor order
Return values
mixed —getId()
Get the id of the contributor
public
getId() : int
Return values
int —getName()
Get the name of the contributor
public
getName() : string
Return values
string —getOrder()
Get the order of the contributor
public
getOrder() : int
Return values
int —getTypeId()
Get the type id of the contributor
public
getTypeId() : int
Return values
int —getTypeName()
Get the type name of the contributor
public
getTypeName() : string