\Content\Model\TableContentTypesTable

Represents "content_types" database table.

Summary

Methods
Properties
Constants
initialize()
patchEntity()
validationDefault()
afterSave()
unbindSluggable()
$Roles
$ContentTypePermissions
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$Roles

$Roles : \User\Model\Table\RolesTable

Type

\User\Model\Table\RolesTable

$ContentTypePermissions

$ContentTypePermissions : \User\Model\Table\ContentTypePermissions

Type

\User\Model\Table\ContentTypePermissions

Methods

initialize()

initialize(array $config) : void

Initialize a table instance. Called after the constructor.

Parameters

array $config

Configuration options passed to the constructor

patchEntity()

patchEntity(\Cake\Datasource\EntityInterface $type, array $data, array $options)

{@inheritDoc}

Parameters

\Cake\Datasource\EntityInterface $type
array $data
array $options

validationDefault()

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

Default validation rules set.

Parameters

\Cake\Validation\Validator $validator

The validator object

Returns

\Cake\Validation\Validator

afterSave()

afterSave(\Cake\Event\Event $event, \Cake\Datasource\EntityInterface $entity, \ArrayObject $options) : void

Regenerates snapshot after new content type is created.

Parameters

\Cake\Event\Event $event

The event that was triggered

\Cake\Datasource\EntityInterface $entity

The entity that was saved

\ArrayObject $options

Array of options

unbindSluggable()

unbindSluggable() : void