PHP Class SubscriptionTypeForm, ojs

Inheritance: extends Form
显示文件 Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$typeId int the ID of the subscription type being edited
$validCurrencies array keys are valid subscription type currencies
$validFormats array keys are valid subscription type formats

Public Methods

Method Description
__construct ( $typeId = null ) Constructor
display ( ) Display the form.
execute ( ) Save subscription type.
getLocaleFieldNames ( ) : array Get a list of localized field names for this form
initData ( ) Initialize form data from current subscription type.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor
public __construct ( $typeId = null )

display() public method

Display the form.
public display ( )

execute() public method

Save subscription type.
public execute ( )

getLocaleFieldNames() public method

Get a list of localized field names for this form
public getLocaleFieldNames ( ) : array
return array

initData() public method

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

readInputData() public method

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

Property Details

$typeId public_oe property

int the ID of the subscription type being edited
public $typeId

$validCurrencies public_oe property

array keys are valid subscription type currencies
public $validCurrencies

$validFormats public_oe property

array keys are valid subscription type formats
public $validFormats