Public Member Functions

PublishedMonograph Class Reference
[Monograph]

Published monograph class. More...

Inheritance diagram for PublishedMonograph:
Monograph

List of all members.

Public Member Functions

 getAgents ()
 getAudience ()
 getAudienceRangeExact ()
 getAudienceRangeFrom ()
 getAudienceRangeQualifier ()
 getAudienceRangeTo ()
 getCategories ()
 getCoverImage ()
 getPublicationFormats ($onlyApproved=false)
 getPublicationFormatString ()
 getSuppliers ()
 getViews ()
 hasPublicationFormats ()
 isAvailable ()
 PublishedMonograph ()
 setAudience ($audience)
 setAudienceRangeExact ($audienceRangeExact)
 setAudienceRangeFrom ($audienceRangeFrom)
 setAudienceRangeQualifier ($audienceRangeQualifier)
 setAudienceRangeTo ($audienceRangeTo)
 setCoverImage ($coverImage)
 setViews ($views)

Detailed Description

Published monograph class.

See also:
PublishedMonographDAO

Definition at line 23 of file PublishedMonograph.inc.php.


Member Function Documentation

PublishedMonograph.getAgents (  ) 

Get the Representative objects assigned as agents for this published monograph.

Returns:
Array Representative

Definition at line 233 of file PublishedMonograph.inc.php.

PublishedMonograph.getAudience (  ) 

Get the audience of the published monograph.

Returns:
int

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

PublishedMonograph.getAudienceRangeExact (  ) 

Get the audienceRangeExact field of the published monograph.

Returns:
int

Definition at line 116 of file PublishedMonograph.inc.php.

PublishedMonograph.getAudienceRangeFrom (  ) 

Get the audienceRangeFrom field for the published monograph.

Returns:
int

Definition at line 84 of file PublishedMonograph.inc.php.

PublishedMonograph.getAudienceRangeQualifier (  ) 

Get the audienceRangeQualifier of the published monograph.

Returns:
int

Definition at line 68 of file PublishedMonograph.inc.php.

PublishedMonograph.getAudienceRangeTo (  ) 

Get the audienceRangeTo field for the published monograph.

Returns:
int

Definition at line 100 of file PublishedMonograph.inc.php.

PublishedMonograph.getCategories (  ) 

Get the categories for this published monograph.

See also:
PublishedMonographDAO.getCategories
Returns:
Iterator

Definition at line 180 of file PublishedMonograph.inc.php.

References Monograph.getPressId().

PublishedMonograph.getCoverImage (  ) 

Get the cover image.

Returns:
array

Definition at line 192 of file PublishedMonograph.inc.php.

PublishedMonograph.getPublicationFormats ( onlyApproved = false  ) 

Retrieves the assigned publication formats for this mongraph

Parameters:
$onlyApproved boolean whether to fetch only those that are in the catalog.
Returns:
array PublicationFormat

Definition at line 133 of file PublishedMonograph.inc.php.

Referenced by getPublicationFormatString(), hasPublicationFormats(), and isAvailable().

PublishedMonograph.getPublicationFormatString (  ) 

Return string of approved publication formats, separated by comma.

Returns:
string

Definition at line 147 of file PublishedMonograph.inc.php.

References getPublicationFormats().

PublishedMonograph.getSuppliers (  ) 

Get the Representative objects assigned as suppliers for this published monograph.

Returns:
Array Representative

Definition at line 223 of file PublishedMonograph.inc.php.

PublishedMonograph.getViews (  ) 

Get views of the published monograph.

Returns:
int

Definition at line 36 of file PublishedMonograph.inc.php.

PublishedMonograph.hasPublicationFormats (  ) 

Returns whether or not this published monograph has formats assigned to it

Returns:
boolean

Definition at line 166 of file PublishedMonograph.inc.php.

References getPublicationFormats().

PublishedMonograph.isAvailable (  ) 

Get whether or not this monograph is available in the catalog. A monograph is available if it has at least one publication format that has been flagged as 'available' in the catalog and if it has metadata approved.

Returns:
boolean

Definition at line 211 of file PublishedMonograph.inc.php.

References getPublicationFormats(), and Monograph.isMetadataApproved().

PublishedMonograph.PublishedMonograph (  ) 

Constructor.

Definition at line 28 of file PublishedMonograph.inc.php.

References Monograph.Monograph().

PublishedMonograph.setAudience ( audience  ) 

Set the audience for the published monograph.

Parameters:
$audience int (onix code)

Definition at line 60 of file PublishedMonograph.inc.php.

PublishedMonograph.setAudienceRangeExact ( audienceRangeExact  ) 

Set the audienceRangeExact field for the published monograph.

Parameters:
$audienceRangeExact int (onix code)

Definition at line 124 of file PublishedMonograph.inc.php.

PublishedMonograph.setAudienceRangeFrom ( audienceRangeFrom  ) 

Set the audienceRangeFrom field for the published monograph.

Parameters:
$audienceRangeFrom int (onix code)

Definition at line 92 of file PublishedMonograph.inc.php.

PublishedMonograph.setAudienceRangeQualifier ( audienceRangeQualifier  ) 

Set the audienceRangeQualifier for the published monograph.

Parameters:
$audienceRangeQualifier int (onix code)

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

PublishedMonograph.setAudienceRangeTo ( audienceRangeTo  ) 

Set the audienceRangeTo field for the published monograph.

Parameters:
$audienceRangeTo int (onix code)

Definition at line 108 of file PublishedMonograph.inc.php.

PublishedMonograph.setCoverImage ( coverImage  ) 

Set the cover image.

Parameters:
$coverImage array

Definition at line 200 of file PublishedMonograph.inc.php.

PublishedMonograph.setViews ( views  ) 

Set views of the published monograph.

Parameters:
$views int

Definition at line 44 of file PublishedMonograph.inc.php.


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