PHP Class Craft\Neo_BlockTypeRecord

Inheritance: extends craft\BaseRecord
ファイルを表示 Open project: benjamminf/craft-neo

Public Methods

Method Description
defineIndexes ( )
defineRelations ( )
getTableName ( ) Public methods
rules ( ) : array Returns the validation rules for the record.
validateUniques ( boolean | true $includeUniques = true, array | null $attributes = null, boolean | true $clearErrors = true ) : boolean Determines if the values on the record are valid.

Protected Methods

Method Description
defineAttributes ( ) Protected methods

Method Details

defineAttributes() protected method

Protected methods
protected defineAttributes ( )

defineIndexes() public method

public defineIndexes ( )

defineRelations() public method

public defineRelations ( )

getTableName() public method

Public methods
public getTableName ( )

rules() public method

Excludes unique validators if flag is set (@link validateUniques).
public rules ( ) : array
return array

validateUniques() public method

Allows option to include or exclude validating unique values.
public validateUniques ( boolean | true $includeUniques = true, array | null $attributes = null, boolean | true $clearErrors = true ) : boolean
$includeUniques boolean | true
$attributes array | null
$clearErrors boolean | true
return boolean