PHP Class MediaType

Inheritance: extends AppModel
Show file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
model ( $className = __CLASS__ ) : ProtectedFile Returns the static model of the specified AR class.
rules ( ) : array
tableName ( ) : string

Method Details

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : ProtectedFile
return ProtectedFile the static model class

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name