PHP Class NewLibraryFileForm, pkp-lib

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

Public Properties

Property Type Description
$submissionId integer

Public Methods

Method Description
__construct ( $contextId ) Constructor.
__construct ( $contextId, $submissionId ) Constructor.
execute ( $userId ) Save the new library file.
fetch ( $request )
getSubmissionId ( ) : integer return the submission ID for this library file.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor.
public __construct ( $contextId )
$contextId int

__construct() public method

Constructor.
public __construct ( $contextId, $submissionId )
$contextId int

execute() public method

Save the new library file.
public execute ( $userId )
$userId int The current user ID (for validation purposes).

fetch() public method

public fetch ( $request )

getSubmissionId() public method

return the submission ID for this library file.
public getSubmissionId ( ) : integer
return integer

readInputData() public method

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

Property Details

$submissionId public_oe property

public int $submissionId
return integer