PHP Class PKPAssignPublicIdentifiersForm, pkp-lib

Inheritance: extends Form
Datei anzeigen Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_approval boolean
$_confirmationText Confirmation to display.
$_contextId The context id
$_pubObject The pub object, that are beeing approved, the pub ids can be considered for assignement there OJS Issue, Representation or SubmissionFile

Public Methods

Method Description
__construct ( $template, $pubObject, $approval, $confirmationText ) Constructor.
execute ( $request, $save = false ) Assign pub ids.
fetch ( $request )
getApproval ( ) : boolean Get weather it is an approval
getConfirmationText ( ) : string Get the confirmation text.
getContextId ( ) : integer Get the context id
getPubObject ( ) : object Get the pub object
readInputData ( )

Method Details

__construct() public method

Constructor.
public __construct ( $template, $pubObject, $approval, $confirmationText )
$template string Form template
$pubObject object
$approval boolean
$confirmationText string

execute() public method

Assign pub ids.
public execute ( $request, $save = false )
$request PKPRequest
$save boolean true if the pub id shall be saved here false if this form is integrated somewhere else, where the pub object will be updated.

fetch() public method

public fetch ( $request )

getApproval() public method

Get weather it is an approval
public getApproval ( ) : boolean
return boolean

getConfirmationText() public method

Get the confirmation text.
public getConfirmationText ( ) : string
return string

getContextId() public method

Get the context id
public getContextId ( ) : integer
return integer

getPubObject() public method

Get the pub object
public getPubObject ( ) : object
return object

readInputData() public method

public readInputData ( )

Property Details

$_approval public_oe property

public bool $_approval
return boolean

$_confirmationText public_oe property

Confirmation to display.
public $_confirmationText

$_contextId public_oe property

The context id
public $_contextId

$_pubObject public_oe property

The pub object, that are beeing approved, the pub ids can be considered for assignement there OJS Issue, Representation or SubmissionFile
public $_pubObject