Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
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 ()
 
 getSubscriptionId ()
 
 getSubscriptionTypeInstitutional ()
 
 getSubscriptionTypeName ()
 
 getSubscriptionTypeSummaryString ()
 
 getTypeId ()
 
 getUserEmail ()
 
 getUserFullName ()
 
 getUserId ()
 
 isExpired ()
 
 isNonExpiring ()
 
 isValid ($check=SUBSCRIPTION_DATE_BOTH, $checkDate=null)
 
 setDateEnd ($dateEnd)
 
 setDateStart ($dateStart)
 
 setJournalId ($journalId)
 
 setMembership ($membership)
 
 setNotes ($notes)
 
 setReferenceNumber ($referenceNumber)
 
 setStatus ($status)
 
 setSubscriptionId ($subscriptionId)
 
 setTypeId ($typeId)
 
 setUserId ($userId)
 
- 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

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

See Also
IndividualSubscriptionDAO

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

Member Function Documentation

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

Check whether subscription is valid

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

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


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