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