Article

Extends \AppModel

Article Model

Articles are used to store content on a given page. They consist of a title and the associated content.

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 articles belong to a single page.

belongsTo : string
var

Type(s)

string