silverstripe-dms/code/DMSTag.php
2012-07-27 12:37:39 +12:00

16 lines
317 B
PHP

<?php
/**
* Hold a set of metadata category/value tags associated with a DMSDocument
*/
class DMSTag extends DataObject {
static $db = array(
'Category' => 'Varchar(1024)',
'Value' => 'Varchar(1024)',
'MultiValue' => 'Boolean(1)'
);
static $belongs_many_many = array(
'Documents' => 'DMSDocument'
);
}