Setting

Extends \AppModel

Settings Model

RMS settings contain information about parameters such as the site name and copyright message.

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 default ID for the single settings entry.

default : integer
static
var

Type(s)

integer

The validation criteria for the model.

validate : array
var

Type(s)

array