Subject
The model class of Subject
Tags
Table of Contents
- $ddc : string
- $id : int
- $name : string
- $order : int
- __construct() : mixed
- Subject constructor
- getDdc() : string
- Get the DDC of subject
- getId() : int
- Get the id of subject
- getName() : string
- Get the name of subject
- getOrder() : int
- Get the order of subject
Properties
$ddc
private
string
$ddc
$id
private
int
$id
$name
private
string
$name
$order
private
int
$order
Methods
__construct()
Subject constructor
public
__construct(int $id, string $name, string $ddc, int $order) : mixed
Parameters
- $id : int
- $name : string
- $ddc : string
- $order : int
Return values
mixed —getDdc()
Get the DDC of subject
public
getDdc() : string
Return values
string —getId()
Get the id of subject
public
getId() : int
Return values
int —getName()
Get the name of subject
public
getName() : string
Return values
string —getOrder()
Get the order of subject
public
getOrder() : int