\Comment\Model\TableCommentsTable

Represents "comments" database table.

Summary

Methods
Properties
Constants
initialize()
validationDefault()
validationAnonymous()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

initialize()

initialize(array $config) : void

Initialize a table instance. Called after the constructor.

{@inheritDoc}

Parameters

array $config

Configuration options passed to the constructor

validationDefault()

validationDefault(\Cake\Validation\Validator $validator) : \Cake\Validation\Validator

Basic validation set of rules.

Parameters

\Cake\Validation\Validator $validator

The validator object

Returns

\Cake\Validation\Validator

validationAnonymous()

validationAnonymous(\Cake\Validation\Validator $validator) : \Cake\Validation\Validator

Validation rules when editing a comment in backend.

Parameters

\Cake\Validation\Validator $validator

The validator object

Returns

\Cake\Validation\Validator