Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
Gift Class Reference
Inheritance diagram for Gift:
PKPGift DataObject

Public Member Functions

 getGiftName ($locale=null)
 Gift ()
- Public Member Functions inherited from PKPGift
 getAssocId ()
 getAssocType ()
 getBuyerEmail ()
 getBuyerFirstName ()
 getBuyerFullName ($lastFirst=false)
 getBuyerLastName ()
 getBuyerMiddleName ()
 getBuyerUserId ()
 getDatetimeRedeemed ()
 getGiftAssocId ()
 getGiftName ($locale=null)
 getGiftNote ()
 getGiftNoteTitle ()
 getGiftType ()
 getLocale ()
 getNotes ()
 getRecipientEmail ()
 getRecipientFirstName ()
 getRecipientFullName ($lastFirst=false)
 getRecipientLastName ()
 getRecipientMiddleName ()
 getRecipientUserId ()
 getStatus ()
 PKPGift ()
 setAssocId ($assocId)
 setAssocType ($assocType)
 setBuyerEmail ($buyerEmail)
 setBuyerFirstName ($buyerFirstName)
 setBuyerLastName ($buyerLastName)
 setBuyerMiddleName ($buyerMiddleName)
 setBuyerUserId ($userId)
 setDatetimeRedeemed ($datetimeRedeemed)
 setGiftAssocId ($giftAssocId)
 setGiftNote ($giftNote)
 setGiftNoteTitle ($giftNoteTitle)
 setGiftType ($type)
 setLocale ($locale)
 setNotes ($notes)
 setRecipientEmail ($recipientEmail)
 setRecipientFirstName ($recipientFirstName)
 setRecipientLastName ($recipientLastName)
 setRecipientMiddleName ($recipientMiddleName)
 setRecipientUserId ($userId)
 setStatus ($status)
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 DataObject ($callHooks=true)
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()

Detailed Description

Class for an OJS Gift.

See Also

Definition at line 21 of file

Member Function Documentation

Gift::getGiftName (   $locale = null)

Get the name of the gift based on gift type.


Definition at line 34 of file

References DAORegistry\getDAO(), PKPGift\getGiftAssocId(), PKPGift\getGiftType(), and AppLocale\getLocale().

Gift::Gift ( )


Definition at line 25 of file

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