Slot

Extends \AppModel

Slot Model

Slots represent a user study session slot. It contains information about the associated interface, environment, and start/end time.

author

Russell Toris - rctoris@wpi.edu

copyright

2014 Worcester Polytechnic Institute

link

https://github.com/WPI-RAIL/rms

since

RMS v 2.0.0

version 2.0.9
package

app.Model

Methods

Check if a field is equal to another. This is useful for password validations.

equalToField(string $check, string $otherField) : boolean
inherited

Arguments

$check

string

The name of the field to check.

$otherField

string

The name of the other field to check with the first one.

Response

boolean

Returns if the two fields have equal contents.

Properties

The validation criteria for the model.

validate : array
var

Type(s)

array

All slots belong to a single condition.

belongsTo : string
var

Type(s)

string

Slots can have one appointments.

hasOne : array
var

Type(s)

array