Open Journal Systems  3.3.0
IndividualSubscription Class Reference
Inheritance diagram for IndividualSubscription:
Subscription DataObject

Public Member Functions

 isValid ($check=SUBSCRIPTION_DATE_BOTH, $checkDate=null)
 
- Public Member Functions inherited from Subscription
 getDateEnd ()
 
 getDateStart ()
 
 getJournalId ()
 
 getMembership ()
 
 getNotes ()
 
 getReferenceNumber ()
 
 getStatus ()
 
 getStatusString ()
 
 getSubscriptionTypeInstitutional ()
 
 getSubscriptionTypeName ()
 
 getSubscriptionTypeSummaryString ()
 
 getTypeId ()
 
 getUserEmail ()
 
 getUserFullName ()
 
 getUserId ()
 
 isExpired ()
 
 isNonExpiring ()
 
 setDateEnd ($dateEnd)
 
 setDateStart ($dateStart)
 
 setJournalId ($journalId)
 
 setMembership ($membership)
 
 setNotes ($notes)
 
 setReferenceNumber ($referenceNumber)
 
 setStatus ($status)
 
 setTypeId ($typeId)
 
 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

Basic class describing an individual (non-institutional) subscription.

See also
IndividualSubscriptionDAO

Definition at line 19 of file IndividualSubscription.inc.php.

Member Function Documentation

◆ isValid()

IndividualSubscription::isValid (   $check = SUBSCRIPTION_DATE_BOTH,
  $checkDate = null 
)

Check whether subscription is valid

Definition at line 24 of file IndividualSubscription.inc.php.

References DAORegistry\getDAO(), and DataObject\getData().


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