mirror of https://github.com/MISP/MISP
new: [tag collections] Renamed tagCollectionElement to tagCollectionTag
parent
856a76951f
commit
aefb824d5c
|
@ -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(
|
||||
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue