PHP Class SubscriptionPolicyForm, ojs

Inheritance: extends Form
Mostra file Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$validDuration array keys are valid open access delay months
$validNumMonthsAfterExpiry array keys are valid expiry reminder months
$validNumMonthsBeforeExpiry array keys are valid expiry reminder months
$validNumWeeksAfterExpiry array keys are valid expiry reminder weeks
$validNumWeeksBeforeExpiry array keys are valid expiry reminder weeks

Public Methods

Method Description
__construct ( ) Constructor
display ( ) Display the form.
execute ( ) Save subscription policies.
getLocaleFieldNames ( ) : array Get the names of the fields for which localized settings are used
initData ( ) Initialize form data from current subscription policies.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor
public __construct ( )

display() public method

Display the form.
public display ( )

execute() public method

Save subscription policies.
public execute ( )

getLocaleFieldNames() public method

Get the names of the fields for which localized settings are used
public getLocaleFieldNames ( ) : array
return array

initData() public method

Initialize form data from current subscription policies.
public initData ( )

readInputData() public method

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

Property Details

$validDuration public_oe property

array keys are valid open access delay months
public $validDuration

$validNumMonthsAfterExpiry public_oe property

array keys are valid expiry reminder months
public $validNumMonthsAfterExpiry

$validNumMonthsBeforeExpiry public_oe property

array keys are valid expiry reminder months
public $validNumMonthsBeforeExpiry

$validNumWeeksAfterExpiry public_oe property

array keys are valid expiry reminder weeks
public $validNumWeeksAfterExpiry

$validNumWeeksBeforeExpiry public_oe property

array keys are valid expiry reminder weeks
public $validNumWeeksBeforeExpiry