Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
metadata_field_thesaurus.inc
1
<?php
17
require_once SQ_SYSTEM_ROOT.
'/core/assets/metadata/metadata_field/metadata_field.inc'
;
18
30
class
Metadata_Field_Thesaurus
extends
Metadata_Field
31
{
32
33
40
function
__construct
($assetid=0)
41
{
42
parent::__construct($assetid);
43
44
}
//end constructor
45
46
53
public
function
getThesaurusRef
()
54
{
55
$th_id = $this->
attr
(
'thesaurus_assetid'
);
56
$false = FALSE;
57
if
(empty($th_id))
return
$false;
58
59
return
$GLOBALS[
'SQ_SYSTEM'
]->am->getAsset($th_id);
60
61
}
//end getThesaurusRef()
62
63
64
}
//end class
65
66
?>
squiz_matrix
core
assets
metadata
metadata_fields
metadata_field_thesaurus
metadata_field_thesaurus.inc
Generated on Tue Jan 29 2013 14:04:38 for Squiz Matrix by
1.8.3.1