TrainingAssignments
extends Model
Table of Contents
Properties
-
$allowedFields
: mixed
-
$primaryKey
: mixed
-
$table
: mixed
-
$trainingId
: mixed
Methods
-
find()
: mixed
-
findAll()
: mixed
-
setTrainingId()
: mixed
-
where()
: mixed
$allowedFields
protected
mixed
$allowedFields
= ['id', 'training_id', 'meeting_id', 'name', 'sort_order', 'intro', 'outro', 'info', 'sub_assignment', 'created_at']
$primaryKey
protected
mixed
$primaryKey
= 'id'
$table
protected
mixed
$table
= 'training_assignments'
$trainingId
protected
mixed
$trainingId
= NULL
find()
public
find([mixed $id = null ]) : mixed
Parameters
-
$id
: mixed
= null
-
findAll()
public
findAll([mixed $limit = null ][, mixed $offset = 0 ]) : mixed
Parameters
-
$limit
: mixed
= null
-
-
$offset
: mixed
= 0
-
setTrainingId()
public
setTrainingId(int $trainingId) : mixed
Parameters
-
$trainingId
: int
-
where()
public
where(mixed $key[, mixed $value = null ]) : mixed
Parameters
-
$key
: mixed
-
-
$value
: mixed
= null
-