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
|
|
|
*/
|
|
|
|
class DMSTag extends DataObject {
|
|
|
|
|
2013-08-22 13:38:26 +02:00
|
|
|
private static $db = array(
|
2012-07-27 01:26:30 +02:00
|
|
|
'Category' => 'Varchar(1024)',
|
|
|
|
'Value' => 'Varchar(1024)',
|
|
|
|
'MultiValue' => 'Boolean(1)'
|
2012-07-17 07:58:33 +02:00
|
|
|
);
|
|
|
|
|
2013-08-22 13:38:26 +02:00
|
|
|
private static $belongs_many_many = array(
|
2012-07-25 05:11:06 +02:00
|
|
|
'Documents' => 'DMSDocument'
|
2012-07-17 07:58:33 +02:00
|
|
|
);
|
2013-08-22 13:38:26 +02:00
|
|
|
}
|