Class DigitalContent

(line 22)

Description


Located in File: /lib/digitallibrary.inc.php

Digital Library Content Object Definition


Class Variables

Summary:
Collection $Collection
CollectionContent $CollectionContent
integer $CollectionID
string $ContentURL
string $Contributor
Creator[] $Creators
string $Date
File[] $Files
integer $ID
string $Identifier
Language[] $Languages
string $Publisher
string $Scope
Subject[] $Subjects
string $Title

$Collection = NULL (line 1557)

Data type : Collection

  • access: - public

$CollectionContent = NULL (line 1562)

Data type : CollectionContent

  • access: - public

$CollectionContentID = 0 (line 1507)

Data type : integer

  • access: - public

$CollectionID = 0 (line 1502)

Data type : integer

  • access: - public

$ContentURL = NULL (line 1549)

Data type : string

This URL must be an absolute URL.
  • access: - public

$Contributor = NULL (line 1537)

Data type : string

  • access: - public

$Creators = array() (line 1572)

Data type : Creator[]

  • access: - public

$Date = NULL (line 1527)

Data type : string

  • access: - public

$Files = array() (line 1567)

Data type : File[]

  • access: - public

$ID = 0 (line 1492)

Data type : integer

  • access: - public

$Identifier = NULL (line 1512)

Data type : string

  • access: - public

$Languages = array() (line 1577)

Data type : Language[]

  • access: - public

$PhysicalDescription = NULL (line 1522)

Data type : string

  • access: - public

$PrimaryCreator = NULL (line 1587)

Data type : Creator

  • access: - public

$Publisher = NULL (line 1532)

Data type : string

  • access: - public

$RightsStatement = NULL (line 1542)

Data type : string

  • access: - public

$Scope = NULL (line 1517)

Data type : string

  • access: - public

$Subjects = array() (line 1582)

Data type : Subject[]

  • access: - public

$Title = NULL (line 1497)

Data type : string

  • access: - public

Class Constants

Summary:

Method Detail

Summary:
DigitalContent DigitalContent ([integer|array $ID_or_Row = NULL])
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], boolean $MakeIntoLink[optional])
string __toString ()

Constructor DigitalContent (line 38)

DigitalContent DigitalContent( [integer|array $ID_or_Row = NULL])

DigitalContent Constructor

If ID is passed as an argument, no data will be loaded until some varation of dbLoad is called.

If a table row is passed as an argument, the array will be parsed, and object variables will be assigned.

Parameters

  • integer|array $ID_or_Row: DigitalContent ID or array containing row from tblDL_Content

Info

  • access - public

Method dbDelete (line 74)

boolean dbDelete( )

Deletes DigitalContent from the database

Info

  • access - public

Method dbLoad (line 173)

boolean dbLoad( )

Loads DigitalContent from the database

Info

  • access - public

Method dbLoadCreators (line 221)

boolean dbLoadCreators( )

Loads Creators for Digital Library instance

Info

  • access - public

Method dbLoadFiles (line 275)

boolean dbLoadFiles( )

Loads Files for Digital Library instance

Note: Does NOT load FileContents for each file.

Info

  • access - public

Method dbLoadLanguages (line 328)

boolean dbLoadLanguages( )

Loads Languages for Digital Library instance

Info

  • access - public

Method dbLoadRelatedObjects (line 370)

boolean dbLoadRelatedObjects( )

Loads All Related Objects for DigitalContent instance

Info

  • access - public

Method dbLoadSubjects (line 425)

boolean dbLoadSubjects( )

Loads Subjects for Digital Library instance

Info

  • access - public

Method dbRelateCreator (line 487)

boolean dbRelateCreator( integer $CreatorID)

Relate Creator to Digital Library

Parameters

  • integer $CreatorID:

Info

  • access - public

Method dbRelateLanguage (line 600)

boolean dbRelateLanguage( integer $LanguageID)

Relate Language to Digital Library

Parameters

  • integer $LanguageID:

Info

  • access - public

Method dbRelateSubject (line 693)

boolean dbRelateSubject( integer $SubjectID)

Relate Subject to Digital Library

Parameters

  • integer $SubjectID:

Info

  • access - public

Method dbStore (line 785)

boolean dbStore( )

Stores DigitalContent to the database

Info

  • access - public

Method dbUnrelateAllCreators (line 977)

boolean dbUnrelateAllCreators( )

Unrelates all creators for collection

Info

  • access - public

Method dbUnrelateAllLanguages (line 1045)

boolean dbUnrelateAllLanguages( )

Unrelates all languages for collection

Info

  • access - public

Method dbUnrelateAllSubjects (line 1112)

boolean dbUnrelateAllSubjects( )

Unrelates all subjects for collection

Info

  • access - public

Method dbUnrelateCreator (line 1181)

boolean dbUnrelateCreator( integer $CreatorID)

Unrelate Creator from Digital Library

Parameters

  • integer $CreatorID:

Info

  • access - public

Method dbUnrelateLanguage (line 1265)

boolean dbUnrelateLanguage( integer $LanguageID)

Unrelate Language from Digital Library

Parameters

  • integer $LanguageID:

Info

  • access - public

Method dbUnrelateSubject (line 1349)

boolean dbUnrelateSubject( integer $SubjectID)

Unrelate Subject from Digital Library

Parameters

  • integer $SubjectID:

Info

  • access - public

Method toString (line 1434)

string toString( [ $MakeIntoLink = LINK_NONE], boolean $MakeIntoLink[optional])

Generates a formatted string of the DigitalContent object

Parameters

  • boolean $MakeIntoLink[optional]:
  • $MakeIntoLink:

Info

  • access - public
  • todo - Custom Formatting

Method __toString (line 1480)

string __toString( )

Info

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Wed, 17 Jan 2007 16:25:30 -0600 by phpDocumentor 1.3.1