Class DigitalLibrary_DigitalContent

Description
Variable Summary
Collection $Collection
CollectionContent $CollectionContent
integer $CollectionID
string $ContentURL
string $Contributor
Creator[] $Creators
string $Date
bit $Enabled
File[] $Files
integer $ID
string $Identifier
Language[] $Languages
string $Publisher
string $Scope
Subject[] $Subjects
string $Title
Method Summary
DigitalLibrary_DigitalContent __construct ()
boolean dbDelete ()
boolean dbLoad ()
boolean dbLoadCreators ()
boolean dbLoadFiles ()
boolean dbLoadLanguages ()
boolean dbLoadSubjects ()
boolean dbRelateCreator (integer $CreatorID)
boolean dbRelateLanguage (integer $LanguageID)
boolean dbRelateSubject (integer $SubjectID)
boolean dbStore ()
boolean dbUnrelateCreator (integer $CreatorID)
boolean dbUnrelateLanguage (integer $LanguageID)
boolean dbUnrelateSubject (integer $SubjectID)
string toString ([ $MakeIntoLink = LINK_NONE], [ $DirectlyLinkToContentURL = false], integer $MakeIntoLink[optional], boolean $DirectlyLinkToContentURL[optional])
Variables
Collection $Collection = NULL (line 1725)
  • access: public
CollectionContent $CollectionContent = NULL (line 1730)
  • access: public
integer $CollectionContentID = 0 (line 1675)
  • access: public
integer $CollectionID = 0 (line 1670)
  • access: public
string $ContentURL = NULL (line 1717)

This URL must be an absolute URL.

  • access: public
string $Contributor = NULL (line 1705)
  • access: public
Creator[] $Creators = array() (line 1740)
  • access: public
string $Date = NULL (line 1695)
  • access: public
bit $Enabled = 1 (line 1660)
  • access: public
File[] $Files = array() (line 1735)
  • access: public
integer $ID = 0 (line 1655)
  • access: public
string $Identifier = NULL (line 1680)
  • access: public
Language[] $Languages = array() (line 1745)
  • access: public
string $PhysicalDescription = NULL (line 1690)
  • access: public
Creator $PrimaryCreator = NULL (line 1755)
  • access: public
string $Publisher = NULL (line 1700)
  • access: public
string $RightsStatement = NULL (line 1710)
  • access: public
string $Scope = NULL (line 1685)
  • access: public
Subject[] $Subjects = array() (line 1750)
  • access: public
string $Title = NULL (line 1665)
  • access: public
Methods
Constructor __construct (line 9)

Digital Content Constructor

  • access: public
DigitalLibrary_DigitalContent __construct ()
dbDelete (line 30)

Deletes DigitalContent from the database

  • access: public
boolean dbDelete ()
dbLoad (line 145)

Loads DigitalContent from the database

  • access: public
boolean dbLoad ()
dbLoadCreators (line 174)

Loads Creators for Digital Library instance

  • access: public
boolean dbLoadCreators ()
dbLoadFiles (line 237)

Loads Files for Digital Library instance

Note: Does NOT load FileContents for each file.

  • access: public
boolean dbLoadFiles ()
dbLoadLanguages (line 292)

Loads Languages for Digital Library instance

  • access: public
boolean dbLoadLanguages ()
dbLoadRelatedObjects (line 336)

Loads All Related Objects for DigitalContent instance

  • access: public
boolean dbLoadRelatedObjects ()
dbLoadSubjects (line 403)

Loads Subjects for Digital Library instance

  • access: public
boolean dbLoadSubjects ()
dbRelateCreator (line 473)

Relate Creator to Digital Library

  • access: public
boolean dbRelateCreator (integer $CreatorID)
  • integer $CreatorID
dbRelateLanguage (line 602)

Relate Language to Digital Library

  • access: public
boolean dbRelateLanguage (integer $LanguageID)
  • integer $LanguageID
dbRelateSubject (line 705)

Relate Subject to Digital Library

  • access: public
boolean dbRelateSubject (integer $SubjectID)
  • integer $SubjectID
dbStore (line 813)

Stores DigitalContent to the database

  • access: public
boolean dbStore ()
dbUnrelateAllCreators (line 1047)

Unrelates all creators for collection

  • access: public
boolean dbUnrelateAllCreators ()
dbUnrelateAllLanguages (line 1132)

Unrelates all languages for collection

  • access: public
boolean dbUnrelateAllLanguages ()
dbUnrelateAllSubjects (line 1209)

Unrelates all subjects for collection

  • access: public
boolean dbUnrelateAllSubjects ()
dbUnrelateCreator (line 1294)

Unrelate Creator from Digital Library

  • access: public
boolean dbUnrelateCreator (integer $CreatorID)
  • integer $CreatorID
dbUnrelateLanguage (line 1396)

Unrelate Language from Digital Library

  • access: public
boolean dbUnrelateLanguage (integer $LanguageID)
  • integer $LanguageID
dbUnrelateSubject (line 1492)

Unrelate Subject from Digital Library

  • access: public
boolean dbUnrelateSubject (integer $SubjectID)
  • integer $SubjectID
toString (line 1596)

Generates a formatted string of the DigitalContent object

  • access: public
  • todo: Custom Formatting
string toString ([ $MakeIntoLink = LINK_NONE], [ $DirectlyLinkToContentURL = false], integer $MakeIntoLink[optional], boolean $DirectlyLinkToContentURL[optional])
  • integer $MakeIntoLink[optional]
  • boolean $DirectlyLinkToContentURL[optional]
  • $MakeIntoLink
  • $DirectlyLinkToContentURL

Documentation generated on Thu, 14 Aug 2008 20:21:58 -0500 by phpDocumentor 1.3.1