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