PHP Class PKPPublicIdentifiersForm, pkp-lib

Inheritance: extends Form
ファイルを表示 Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_contextId The context id
$_formParams Parameters to configure the form template.
$_pubObject The pub object the identifiers are edited of Submission, Representation, SubmissionFile + OJS Issue
$_stageId The current stage id, WORKFLOW_STAGE_ID_

Public Methods

Method Description
__construct ( $pubObject, $stageId = null, $formParams = null ) Constructor.
clearPubId ( $pubIdPlugInClassName ) Clear pub id.
execute ( $request ) Store objects with pub ids.
fetch ( $request )
getAssocType ( $pubObject ) : integer Get assoc type of the given object.
getContextId ( ) : integer Get the context id
getFormParams ( ) : array Get the extra form parameters.
getPubObject ( ) : object Get the pub object
getStageId ( ) : integer Get the stage id
initData ( )
readInputData ( )
validate ( )

Method Details

__construct() public method

Constructor.
public __construct ( $pubObject, $stageId = null, $formParams = null )
$pubObject object
$stageId integer
$formParams array

clearPubId() public method

Clear pub id.
public clearPubId ( $pubIdPlugInClassName )
$pubIdPlugInClassName string

execute() public method

Store objects with pub ids.
public execute ( $request )

fetch() public method

public fetch ( $request )

getAssocType() public method

Get assoc type of the given object.
public getAssocType ( $pubObject ) : integer
$pubObject
return integer ASSOC_TYPE_

getContextId() public method

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

getFormParams() public method

Get the extra form parameters.
public getFormParams ( ) : array
return array

getPubObject() public method

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

getStageId() public method

Get the stage id
public getStageId ( ) : integer
return integer WORKFLOW_STAGE_ID_

initData() public method

public initData ( )

readInputData() public method

public readInputData ( )

validate() public method

public validate ( )

Property Details

$_contextId public_oe property

The context id
public $_contextId

$_formParams public_oe property

Parameters to configure the form template.
public $_formParams

$_pubObject public_oe property

The pub object the identifiers are edited of Submission, Representation, SubmissionFile + OJS Issue
public $_pubObject

$_stageId public_oe property

The current stage id, WORKFLOW_STAGE_ID_
public $_stageId