Open Journal Systems  3.3.0
PKPNotification Class Reference
Inheritance diagram for PKPNotification:
DataObject Notification

Public Member Functions

 getAssocId ()
 
 getAssocType ()
 
 getContextId ()
 
 getDateCreated ()
 
 getDateRead ()
 
 getLevel ()
 
 getType ()
 
 getUserId ()
 
 setAssocId ($assocId)
 
 setAssocType ($assocType)
 
 setContextId ($contextId)
 
 setDateCreated ($dateCreated)
 
 setDateRead ($dateRead)
 
 setLevel ($level)
 
 setType ($type)
 
 setUserId ($userId)
 
- 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

Definition at line 87 of file PKPNotification.inc.php.

Member Function Documentation

◆ getAssocId()

PKPNotification::getAssocId ( )

get notification assoc id

Returns
int

Definition at line 189 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getAssocType()

PKPNotification::getAssocType ( )

get notification type

Returns
int

Definition at line 173 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getContextId()

PKPNotification::getContextId ( )

get context id

Returns
int

Definition at line 205 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getDateCreated()

PKPNotification::getDateCreated ( )

get date notification was created

Returns
date (YYYY-MM-DD HH:MM:SS)

Definition at line 125 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getDateRead()

PKPNotification::getDateRead ( )

get date notification is read by user

Returns
date (YYYY-MM-DD HH:MM:SS)

Definition at line 141 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getLevel()

PKPNotification::getLevel ( )

Get the level (NOTIFICATION_LEVEL_...) for this notification

Returns
int

Definition at line 109 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getType()

PKPNotification::getType ( )

get notification type

Returns
int

Definition at line 157 of file PKPNotification.inc.php.

References DataObject\getData().

◆ getUserId()

PKPNotification::getUserId ( )

get user id associated with this notification

Returns
int

Definition at line 93 of file PKPNotification.inc.php.

References DataObject\getData().

◆ setAssocId()

PKPNotification::setAssocId (   $assocId)

set notification assoc id

Parameters
$assocIdint

Definition at line 197 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setAssocType()

PKPNotification::setAssocType (   $assocType)

set notification type

Parameters
$assocTypeint

Definition at line 181 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setContextId()

PKPNotification::setContextId (   $contextId)

set context id

Parameters
$contextint

Definition at line 213 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setDateCreated()

PKPNotification::setDateCreated (   $dateCreated)

set date notification was created

Parameters
$dateCreateddate (YYYY-MM-DD HH:MM:SS)

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

References DataObject\setData().

◆ setDateRead()

PKPNotification::setDateRead (   $dateRead)

set date notification is read by user

Parameters
$dateReaddate (YYYY-MM-DD HH:MM:SS)

Definition at line 149 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setLevel()

PKPNotification::setLevel (   $level)

Set the level (NOTIFICATION_LEVEL_...) for this notification

Parameters
$levelint

Definition at line 117 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setType()

PKPNotification::setType (   $type)

set notification type

Parameters
$typeint

Definition at line 165 of file PKPNotification.inc.php.

References DataObject\setData().

◆ setUserId()

PKPNotification::setUserId (   $userId)

set user id associated with this notification

Parameters
$userIdint

Definition at line 101 of file PKPNotification.inc.php.

References DataObject\setData().


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