|
CWIS Developer Documentation
|
controlled vocabulary More...
Public Member Functions | |
| Vocabulary ($FileName) | |
| constructor | |
| Status () | |
| return string indicate status of last action | |
| Hash () | |
| return hash string for vocabulary (generated from file name) | |
| Name () | |
| return vocabulary name | |
| Description () | |
| return vocabulary description | |
| Url () | |
| return URL attached to vocabulary | |
| Version () | |
| return version number for vocabulary | |
| HasQualifier () | |
| indicate whether vocabulary has associated qualifier | |
| QualifierName () | |
| return qualifier name | |
| QualifierNamespace () | |
| return qualifier namespace | |
| QualifierUrl () | |
| return qualifier URL | |
| OwnerName () | |
| Get name of owning (maintaining) organization. | |
| OwnerUrl () | |
| Get primary URL for owning (maintaining) organization. | |
| TermArray () | |
| retrieve vocabulary terms as multi-dimensional array | |
| TermList () | |
| retrieve vocabulary terms as flat array with double-dash separators | |
| XmlVal ($ValueName) | |
| ExtractTermSet ($Tree) | |
| BuildTermList ($Prefix, $TermTree) | |
Static Public Member Functions | |
| static | HashForFile ($FileName=NULL) |
| return hash string for specified vocabulary file name | |
Public Attributes | |
| $FileName | |
| $StatusString | |
| $Xml | |
controlled vocabulary
Definition at line 22 of file Vocabulary.php.
| Vocabulary::BuildTermList | ( | $Prefix, | |
| $TermTree | |||
| ) |
Definition at line 196 of file Vocabulary.php.
Referenced by TermList().

| Vocabulary::Description | ( | ) |
| Vocabulary::ExtractTermSet | ( | $Tree | ) |
Definition at line 178 of file Vocabulary.php.
Referenced by TermArray().

| Vocabulary::Hash | ( | ) |
return hash string for vocabulary (generated from file name)
Definition at line 53 of file Vocabulary.php.
|
static |
return hash string for specified vocabulary file name
| FileName | Name of .voc file containing vocabulary. |
Definition at line 63 of file Vocabulary.php.
References $FileName.
Referenced by VocabularyFactory\GetVocabularyByHash().

| Vocabulary::HasQualifier | ( | ) |
indicate whether vocabulary has associated qualifier
Definition at line 91 of file Vocabulary.php.
References QualifierName(), QualifierNamespace(), and QualifierUrl().
| Vocabulary::Name | ( | ) |
| Vocabulary::OwnerName | ( | ) |
Get name of owning (maintaining) organization.
Definition at line 129 of file Vocabulary.php.
| Vocabulary::OwnerUrl | ( | ) |
Get primary URL for owning (maintaining) organization.
Definition at line 139 of file Vocabulary.php.
| Vocabulary::QualifierName | ( | ) |
return qualifier name
Definition at line 101 of file Vocabulary.php.
Referenced by HasQualifier().

| Vocabulary::QualifierNamespace | ( | ) |
return qualifier namespace
Definition at line 110 of file Vocabulary.php.
Referenced by HasQualifier().

| Vocabulary::QualifierUrl | ( | ) |
return qualifier URL
Definition at line 119 of file Vocabulary.php.
Referenced by HasQualifier().

| Vocabulary::Status | ( | ) |
return string indicate status of last action
Definition at line 47 of file Vocabulary.php.
References $StatusString.
| Vocabulary::TermArray | ( | ) |
retrieve vocabulary terms as multi-dimensional array
Definition at line 148 of file Vocabulary.php.
References ExtractTermSet().
Referenced by TermList().

| Vocabulary::TermList | ( | ) |
retrieve vocabulary terms as flat array with double-dash separators
Definition at line 159 of file Vocabulary.php.
References BuildTermList(), and TermArray().
| Vocabulary::Url | ( | ) |
return URL attached to vocabulary
Definition at line 81 of file Vocabulary.php.
References XmlVal().
| Vocabulary::Version | ( | ) |
return version number for vocabulary
Definition at line 86 of file Vocabulary.php.
References XmlVal().
| Vocabulary::Vocabulary | ( | $FileName | ) |
constructor
| FileName | Name of .voc file containing vocabulary to load. |
Definition at line 31 of file Vocabulary.php.
| Vocabulary::XmlVal | ( | $ValueName | ) |
Definition at line 172 of file Vocabulary.php.
Referenced by Description(), Name(), Url(), and Version().

| Vocabulary::$FileName |
Definition at line 168 of file Vocabulary.php.
Referenced by HashForFile(), and Vocabulary().
| Vocabulary::$StatusString |
Definition at line 169 of file Vocabulary.php.
Referenced by Status().
| Vocabulary::$Xml |
Definition at line 170 of file Vocabulary.php.
Referenced by Vocabulary().