Open Journal Systems  2.4.3
 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
GiftDAO

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

Member Function Documentation

Gift::getGiftName (   $locale = null)

Get the name of the gift based on gift type.

Parameters
$localestring
Returns
string

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

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

Gift::Gift ( )

Constructor.

Definition at line 25 of file Gift.inc.php.


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