Public Member Functions

MonographKeywordDAO Class Reference
[Monograph]

Operations for retrieving and modifying a monograph's assigned keywords. More...

List of all members.

Public Member Functions

 build ($monographId)
 getAllUniqueKeywords ()
 getKeywords ($monographId, $locales)
 getLocaleFieldNames ()
 getMonographIdsByKeyword ($keyword)
 insertKeywords ($keywords, $monographId, $deleteFirst=true)
 MonographKeywordDAO ()

Detailed Description

Operations for retrieving and modifying a monograph's assigned keywords.

See also:
Monograph

Definition at line 20 of file MonographKeywordDAO.inc.php.


Member Function Documentation

MonographKeywordDAO.build ( monographId  ) 

Build/fetch and return a controlled vocabulary for keywords.

Parameters:
$monographId int
Returns:
ControlledVocab

Definition at line 33 of file MonographKeywordDAO.inc.php.

Referenced by getKeywords(), and insertKeywords().

MonographKeywordDAO.getAllUniqueKeywords (  ) 

Get an array of all of the monograph's keywords

Returns:
array

Definition at line 76 of file MonographKeywordDAO.inc.php.

MonographKeywordDAO.getKeywords ( monographId,
locales 
)

Get keywords for a monograph.

Parameters:
$monographId int
$locales array
Returns:
array

Definition at line 52 of file MonographKeywordDAO.inc.php.

References build().

MonographKeywordDAO.getLocaleFieldNames (  ) 

Get the list of localized additional fields to store.

Returns:
array

Definition at line 42 of file MonographKeywordDAO.inc.php.

MonographKeywordDAO.getMonographIdsByKeyword ( keyword  ) 

Get an array of monographIds that have a given keyword

Parameters:
$content string
Returns:
array

Definition at line 99 of file MonographKeywordDAO.inc.php.

MonographKeywordDAO.insertKeywords ( keywords,
monographId,
deleteFirst = true 
)

Add an array of keywords

Parameters:
$keywords array
$monographId int
$deleteFirst boolean
Returns:
int

Definition at line 126 of file MonographKeywordDAO.inc.php.

References build().

MonographKeywordDAO.MonographKeywordDAO (  ) 

Constructor

Definition at line 24 of file MonographKeywordDAO.inc.php.


The documentation for this class was generated from the following file: