PHP Class PKPAssignPublicIdentifiersForm, pkp-lib

Inheritance: extends Form
Afficher le fichier Open project: pkp/pkp-lib Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

execute() public méthode

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 méthode

public fetch ( $request )

getApproval() public méthode

Get weather it is an approval
public getApproval ( ) : boolean
Résultat boolean

getConfirmationText() public méthode

Get the confirmation text.
public getConfirmationText ( ) : string
Résultat string

getContextId() public méthode

Get the context id
public getContextId ( ) : integer
Résultat integer

getPubObject() public méthode

Get the pub object
public getPubObject ( ) : object
Résultat object

readInputData() public méthode

public readInputData ( )

Property Details

$_approval public_oe property

public bool $_approval
Résultat 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