PHP Class UserIndividualSubscriptionForm, ojs

Inheritance: extends Form
Exibir arquivo Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$request PKPRequest
$subscription the subscription being purchased
$subscriptionTypes Array subscription types
$userId int the user associated with the subscription

Public Methods

Method Description
__construct ( $request, $userId = null, $subscriptionId = null ) Constructor
display ( ) Display the form.
execute ( ) Create/update individual subscription.
initData ( ) Initialize form data from current subscription.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor
public __construct ( $request, $userId = null, $subscriptionId = null )
$request PKPRequest
$userId int
$subscriptionId int

display() public method

Display the form.
public display ( )

execute() public method

Create/update individual subscription.
public execute ( )

initData() public method

Initialize form data from current subscription.
public initData ( )

readInputData() public method

Assign form data to user-submitted data.
public readInputData ( )

Property Details

$request public_oe property

public PKPRequest $request
return PKPRequest

$subscription public_oe property

the subscription being purchased
public $subscription

$subscriptionTypes public_oe property

Array subscription types
public $subscriptionTypes

$userId public_oe property

int the user associated with the subscription
public $userId