Company
The model class of Company (ex. publisher)
Tags
Table of Contents
- $id : int
- $name : string
- $order : int
- $typeId : int
- $typeName : string
- __construct() : mixed
- Company constructor
- getId() : int
- Get the id of the category
- getName() : string
- Get the name of the category
- getOrder() : int
- Get the order of the category
- getTypeId() : int
- Get the type id of the category
- getTypeName() : string
- Get the type name of the category
Properties
$id
private
int
$id
$name
private
string
$name
$order
private
int
$order
$typeId
private
int
$typeId
$typeName
private
string
$typeName
Methods
__construct()
Company constructor
public
__construct(int $id, string $name[, int $typeId = 1 ][, string $typeName = 'Εκδότης' ], int $order) : mixed
Parameters
- $id : int
-
category id
- $name : string
-
category name
- $typeId : int = 1
-
category type id
- $typeName : string = 'Εκδότης'
-
category type name
- $order : int
-
category order
Return values
mixed —getId()
Get the id of the category
public
getId() : int
Return values
int —getName()
Get the name of the category
public
getName() : string
Return values
string —getOrder()
Get the order of the category
public
getOrder() : int
Return values
int —getTypeId()
Get the type id of the category
public
getTypeId() : int
Return values
int —getTypeName()
Get the type name of the category
public
getTypeName() : string