Open Journal Systems  3.3.0
AnnouncementType Class Reference
Inheritance diagram for AnnouncementType:
DataObject

Public Member Functions

 getAssocId ()
 
 getAssocType ()
 
 getLocalizedTypeName ()
 
 getName ($locale)
 
 setAssocId ($assocId)
 
 setAssocType ($assocType)
 
 setName ($name, $locale)
 
- Public Member Functions inherited from DataObject
 __construct ()
 
 addSupportedMetadataAdapter ($metadataAdapter)
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
 getDAO ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
 getLocalizedData ($key, $preferredLocale=null)
 
 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)
 
 unsetData ($key, $locale=null)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Data Fields 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

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

Member Function Documentation

◆ getAssocId()

AnnouncementType::getAssocId ( )

Get assoc ID for this annoucement.

Returns
int

Definition at line 26 of file AnnouncementType.inc.php.

References DataObject\getData().

◆ getAssocType()

AnnouncementType::getAssocType ( )

Get assoc type for this annoucement.

Returns
int

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

References DataObject\getData().

◆ getLocalizedTypeName()

AnnouncementType::getLocalizedTypeName ( )

Get the type of the announcement type.

Returns
string

Definition at line 58 of file AnnouncementType.inc.php.

References DataObject\getLocalizedData().

◆ getName()

AnnouncementType::getName (   $locale)

Get the type of the announcement type.

Parameters
$localestring
Returns
string

Definition at line 67 of file AnnouncementType.inc.php.

References DataObject\getData().

◆ setAssocId()

AnnouncementType::setAssocId (   $assocId)

Set assoc ID for this annoucement.

Parameters
$assocIdint

Definition at line 34 of file AnnouncementType.inc.php.

References DataObject\setData().

◆ setAssocType()

AnnouncementType::setAssocType (   $assocType)

Set assoc Type for this annoucement.

Parameters
$assocTypeint

Definition at line 50 of file AnnouncementType.inc.php.

References DataObject\setData().

◆ setName()

AnnouncementType::setName (   $name,
  $locale 
)

Set the type of the announcement type.

Parameters
$namestring
$localestring

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

References DataObject\setData().


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