silverstripe-dms/code/model/DMSTag.php

21 lines
390 B
PHP
Raw Normal View History

<?php
/**
* Hold a set of metadata category/value tags associated with a DMSDocument
*
* @package dms
*/
2015-12-17 19:48:37 +01:00
class DMSTag extends DataObject
{
2015-12-17 19:48:37 +01:00
private static $db = array(
'Category' => 'Varchar(1024)',
'Value' => 'Varchar(1024)',
'MultiValue' => 'Boolean(1)'
);
2015-12-17 19:48:37 +01:00
private static $belongs_many_many = array(
'Documents' => 'DMSDocument'
);
2013-08-22 13:38:26 +02:00
}