Property | Type | Description | |
---|---|---|---|
$_assocId | Assoc ID (per _assocType) | ||
$_assocType | ASSOC_TYPE_... | ||
$_isNew | True iff this is a newly-created query | ||
$_query | The query being edited * | ||
$_stageId | The stage id associated with the query being edited * |
Method | Description | |
---|---|---|
__construct ( $request, $assocType, $assocId, $stageId, $queryId = null ) | Constructor. | |
deleteEntry ( $request, $rowId ) | ||
execute ( $request ) | ||
fetch ( $request, $actionArgs = [] ) | Fetch the form. | |
getAssocId ( ) : integer | Get assoc id | |
getAssocType ( ) : integer | Get assoc type | |
getQuery ( ) : Query | Get the query | |
getStageId ( ) : integer | Get the stage id | |
initData ( ) | Initialize form data from the associated author. | |
insertEntry ( $request, $newRowId ) | ||
readInputData ( ) | Assign form data to user-submitted data. | |
setAssocId ( $assocId ) | Set assoc id | |
setAssocType ( $assocType ) | Set assoc type | |
setQuery ( $query ) | Set the query | |
setStageId ( $stageId ) | Set the stage id | |
updateEntry ( $request, $rowId, $newRowId ) |
public __construct ( $request, $assocType, $assocId, $stageId, $queryId = null ) | ||
$request | Request | |
$assocType | int ASSOC_TYPE_... | |
$assocId | int Assoc ID (per assocType) | |
$stageId | int WORKFLOW_STAGE_... | |
$queryId | int Optional query ID to edit. If none provided, a (potentially temporary) query will be created. |
public fetch ( $request, $actionArgs = [] ) | ||
$request | PKPRequest | |
$actionArgs | array Optional list of additional arguments |
public getAssocType ( ) : integer | ||
return | integer | ASSOC_TYPE_... |
public setAssocType ( $assocType ) | ||
$assocType | int ASSOC_TYPE_... |