Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
SubscriptionHandler Class Reference
Inheritance diagram for SubscriptionHandler:
ManagerHandler Handler PKPHandler

Public Member Functions

 createSubscription ($args)
 
 createSubscriptionType ()
 
 deleteSubscription ($args)
 
 deleteSubscriptionType ($args)
 
 editSubscription ($args)
 
 editSubscriptionType ($args=array())
 
 moveSubscriptionType ($args)
 
 renewSubscription ($args)
 
 saveSubscriptionPolicies ($args, $request)
 
 selectSubscriber ($args)
 
 setupTemplate ($subclass=false, $institutional=false)
 
 SubscriptionHandler ()
 
 subscriptionPolicies ($args, &$request)
 
 subscriptions ($args)
 
 subscriptionsSummary ()
 
 subscriptionTypes ()
 
 updateSubscription ($args)
 
 updateSubscriptionType ()
 
- Public Member Functions inherited from ManagerHandler
 email ($args)
 
 index ()
 
 ManagerHandler ()
 
retrieveRoleAssignmentPreferences ($journalId)
 
 setupTemplate ($subclass=false)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for subscription management functions.

Definition at line 18 of file SubscriptionHandler.inc.php.

Member Function Documentation

SubscriptionHandler::createSubscription (   $args)

Display form to create new subscription.

Definition at line 145 of file SubscriptionHandler.inc.php.

References editSubscription().

SubscriptionHandler::createSubscriptionType ( )

Display form to create new subscription type.

Definition at line 267 of file SubscriptionHandler.inc.php.

References editSubscriptionType().

SubscriptionHandler::deleteSubscription (   $args)

Delete a subscription.

Parameters
$argsarray first parameter is the ID of the subscription to delete

Definition at line 63 of file SubscriptionHandler.inc.php.

References SubscriptionAction\deleteSubscription(), PKPRequest\redirect(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::deleteSubscriptionType (   $args)

Delete a subscription type.

Parameters
$argsarray first parameter is the ID of the subscription type to delete

Definition at line 235 of file SubscriptionHandler.inc.php.

References SubscriptionAction\deleteSubscriptionType(), PKPRequest\redirect(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::editSubscription (   $args)

Display form to edit a subscription.

Parameters
$argsarray optional, first parameter is the ID of the subscription to edit

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

References SubscriptionAction\editSubscription(), PKPRequest\redirect(), setupTemplate(), and PKPHandler\validate().

Referenced by createSubscription().

SubscriptionHandler::editSubscriptionType (   $args = array())

Display form to edit a subscription type.

Parameters
$argsarray optional, first parameter is the ID of the subscription type to edit

Definition at line 249 of file SubscriptionHandler.inc.php.

References SubscriptionAction\editSubscriptionType(), PKPRequest\redirect(), setupTemplate(), Request\url(), and PKPHandler\validate().

Referenced by createSubscriptionType().

SubscriptionHandler::moveSubscriptionType (   $args)

Rearrange the order of subscription types.

Definition at line 221 of file SubscriptionHandler.inc.php.

References SubscriptionAction\moveSubscriptionType(), PKPRequest\redirect(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::renewSubscription (   $args)

Renew a subscription.

Parameters
$argsarray first parameter is the ID of the subscription to renew

Definition at line 90 of file SubscriptionHandler.inc.php.

References PKPRequest\redirect(), SubscriptionAction\renewSubscription(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::saveSubscriptionPolicies (   $args,
  $request 
)

Save subscription policies for the current journal.

Parameters
$argsarray
$requestPKPRequest

Definition at line 309 of file SubscriptionHandler.inc.php.

References SubscriptionAction\saveSubscriptionPolicies(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::selectSubscriber (   $args)

Display a list of users from which to choose a subscriber.

Definition at line 152 of file SubscriptionHandler.inc.php.

References PKPRequest\redirect(), SubscriptionAction\selectSubscriber(), setupTemplate(), and PKPHandler\validate().

SubscriptionHandler::SubscriptionHandler ( )

Constructor

Definition at line 22 of file SubscriptionHandler.inc.php.

SubscriptionHandler::subscriptionPolicies (   $args,
$request 
)

Display subscription policies for the current journal.

Parameters
$argsarray
$requestPKPRequest

Definition at line 296 of file SubscriptionHandler.inc.php.

References setupTemplate(), SubscriptionAction\subscriptionPolicies(), and PKPHandler\validate().

SubscriptionHandler::subscriptions (   $args)

Display a list of subscriptions for the current journal.

Definition at line 40 of file SubscriptionHandler.inc.php.

References PKPRequest\redirect(), setupTemplate(), SubscriptionAction\subscriptions(), and PKPHandler\validate().

SubscriptionHandler::subscriptionsSummary ( )

Display subscriptions summary page for the current journal.

Definition at line 29 of file SubscriptionHandler.inc.php.

References setupTemplate(), SubscriptionAction\subscriptionsSummary(), and PKPHandler\validate().

SubscriptionHandler::subscriptionTypes ( )

Display a list of subscription types for the current journal.

Definition at line 206 of file SubscriptionHandler.inc.php.

References setupTemplate(), SubscriptionAction\subscriptionTypes(), and PKPHandler\validate().

SubscriptionHandler::updateSubscription (   $args)
SubscriptionHandler::updateSubscriptionType ( )

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