dmBridge PHP API
DMFacetTerm Class Reference

Encapsulates a CONTENTdm(R) facet term, which has field nick, label, and value properties. More...

Public Member Functions


Detailed Description

Encapsulates a CONTENTdm(R) facet term, which has field nick, label, and value properties.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 16 of file DMFacetTerm.php.


Constructor & Destructor Documentation

DMFacetTerm::__construct ( DMDCElement field,
count = 0 
)
Parameters:
DMDCElementfield
intcount

Definition at line 29 of file DMFacetTerm.php.


Member Function Documentation

DMFacetTerm::__toString ( )
Returns:
The name of the facet field. Equivalent to calling getField()->getName(). The return value of this method should not be relied upon.
See also:
getName()

Definition at line 40 of file DMFacetTerm.php.

DMFacetTerm::getCount ( )
Returns:
int

Definition at line 47 of file DMFacetTerm.php.

DMFacetTerm::getField ( )
Returns:
DMDCElement

Definition at line 61 of file DMFacetTerm.php.

Referenced by __toString().

DMFacetTerm::getURI ( )
Returns:
DMURI

Definition at line 75 of file DMFacetTerm.php.

DMFacetTerm::setCount ( int)
Parameters:
intint

Definition at line 54 of file DMFacetTerm.php.

Referenced by __construct().

DMFacetTerm::setField ( DMDCElement f)
Parameters:
DMDCElementf

Definition at line 68 of file DMFacetTerm.php.

Referenced by __construct().

DMFacetTerm::setURI ( DMURI uri)
Parameters:
DMURIuri

Definition at line 82 of file DMFacetTerm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables