2018-12-25 14:44:26 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
App::uses('AppModel', 'Model');
|
|
|
|
|
2022-10-26 20:48:41 +02:00
|
|
|
/**
|
|
|
|
* @property Tag $Tag
|
|
|
|
*/
|
2018-12-25 14:44:26 +01:00
|
|
|
class TagCollectionTag extends AppModel
|
|
|
|
{
|
|
|
|
public $useTable = 'tag_collection_tags';
|
|
|
|
|
|
|
|
public $actsAs = array(
|
2021-01-22 13:01:23 +01:00
|
|
|
'AuditLog',
|
2018-12-25 14:44:26 +01:00
|
|
|
'Trim',
|
|
|
|
'SysLogLogable.SysLogLogable' => array(
|
|
|
|
'roleModel' => 'Role',
|
|
|
|
'roleKey' => 'role_id',
|
|
|
|
'change' => 'full'
|
|
|
|
),
|
|
|
|
'Containable'
|
|
|
|
);
|
|
|
|
|
|
|
|
public $belongsTo = array(
|
|
|
|
'TagCollection' => array(
|
|
|
|
'className' => 'TagCollection',
|
|
|
|
),
|
|
|
|
'Tag' => array(
|
|
|
|
'className' => 'Tag',
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|