Property | Type | Description | |
---|---|---|---|
$defaults | |||
$model |
Method | Description | |
---|---|---|
changeRole ( $id, $user_id, $role ) | ||
destroy ( String $lrs_id, array $opts ) : boolean | Destroys the model with the given ID and options. | |
getLrsMember ( $user_id ) | ||
getLrsOwned ( $user_id ) | ||
getStatementCount ( $lrs_id = null ) | Get a statement count, either for an LRS or for the entire site if no lrs_id passed | |
index ( array $opts ) : [Model] | Gets all of the available models with the options. | |
removeUser ( $id, $user_id ) |
Method | Description | |
---|---|---|
constructStore ( |
Constructs a store. | |
constructUpdate ( |
Constructs a update. | |
validateData ( array $data ) | Validates data. | |
where ( array $opts ) : Jenssegers\Mongodb\Eloquent\Builder | Constructs a query restricted by the given options. |
protected constructStore ( |
||
$model | Model to be stored. | |
$data | array | |
$opts | array | |
return |
protected constructUpdate ( |
||
$model | Model to be updated. | |
$data | array | |
$opts | array | |
return |
public getStatementCount ( $lrs_id = null ) |