Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPAnnouncementType Class Reference
Inheritance diagram for PKPAnnouncementType:
DataObject AnnouncementType

Public Member Functions

 getAssocId ()
 
 getAssocType ()
 
 getLocalizedTypeName ()
 
 getName ($locale)
 
 PKPAnnouncementType ()
 
 setAssocId ($assocId)
 
 setAssocType ($assocType)
 
 setName ($name, $locale)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
 getSupportedExtractionAdapters ()
 
 getSupportedInjectionAdapters ()
 
 getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata ($metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing an announcement type.

See Also
AnnouncementTypeDAO, AnnouncementTypeForm, PKPAnnouncementTypeDAO, PKPAnnouncementTypeForm

Definition at line 17 of file PKPAnnouncementType.inc.php.

Member Function Documentation

PKPAnnouncementType::getAssocId ( )

Get assoc ID for this annoucement.

Returns
int

Definition at line 32 of file PKPAnnouncementType.inc.php.

References DataObject\getData().

PKPAnnouncementType::getAssocType ( )

Get assoc type for this annoucement.

Returns
int

Definition at line 48 of file PKPAnnouncementType.inc.php.

References DataObject\getData().

PKPAnnouncementType::getLocalizedTypeName ( )

Get the type of the announcement type.

Returns
string

Definition at line 64 of file PKPAnnouncementType.inc.php.

References DataObject\getLocalizedData().

PKPAnnouncementType::getName (   $locale)

Get the type of the announcement type.

Parameters
$localestring
Returns
string

Definition at line 73 of file PKPAnnouncementType.inc.php.

References DataObject\getData().

PKPAnnouncementType::PKPAnnouncementType ( )

Constructor

Definition at line 21 of file PKPAnnouncementType.inc.php.

PKPAnnouncementType::setAssocId (   $assocId)

Set assoc ID for this annoucement.

Parameters
$assocIdint

Definition at line 40 of file PKPAnnouncementType.inc.php.

References DataObject\setData().

PKPAnnouncementType::setAssocType (   $assocType)

Set assoc Type for this annoucement.

Parameters
$assocTypeint

Definition at line 56 of file PKPAnnouncementType.inc.php.

References DataObject\setData().

PKPAnnouncementType::setName (   $name,
  $locale 
)

Set the type of the announcement type.

Parameters
$namestring
$localestring

Definition at line 82 of file PKPAnnouncementType.inc.php.

References DataObject\setData().


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