new: [tag collections] Renamed tagCollectionElement to tagCollectionTag

pull/3989/head
iglocska 2018-12-25 14:44:26 +01:00
parent 856a76951f
commit aefb824d5c
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
App::uses('AppModel', 'Model');
class TagCollectionTag extends AppModel
{
public $useTable = 'tag_collection_tags';
public $actsAs = array(
'Trim',
'SysLogLogable.SysLogLogable' => array(
'roleModel' => 'Role',
'roleKey' => 'role_id',
'change' => 'full'
),
'Containable'
);
public $belongsTo = array(
'TagCollection' => array(
'className' => 'TagCollection',
),
'Tag' => array(
'className' => 'Tag',
)
);
public $validate = array(
);
}