PHP 클래스 QueryForm, pkp-lib

상속: extends Form
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_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 *

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

Constructor.
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.

deleteEntry() 공개 메소드

public deleteEntry ( $request, $rowId )

execute() 공개 메소드

public execute ( $request )
$request PKPRequest

fetch() 공개 메소드

Fetch the form.
또한 보기: Form::fetch()
public fetch ( $request, $actionArgs = [] )
$request PKPRequest
$actionArgs array Optional list of additional arguments

getAssocId() 공개 메소드

Get assoc id
public getAssocId ( ) : integer
리턴 integer

getAssocType() 공개 메소드

Get assoc type
public getAssocType ( ) : integer
리턴 integer ASSOC_TYPE_...

getQuery() 공개 메소드

Get the query
public getQuery ( ) : Query
리턴 Query

getStageId() 공개 메소드

Get the stage id
public getStageId ( ) : integer
리턴 integer

initData() 공개 메소드

Initialize form data from the associated author.
public initData ( )

insertEntry() 공개 메소드

public insertEntry ( $request, $newRowId )

readInputData() 공개 메소드

Assign form data to user-submitted data.
또한 보기: Form::readInputData()
public readInputData ( )

setAssocId() 공개 메소드

Set assoc id
public setAssocId ( $assocId )
$assocId int

setAssocType() 공개 메소드

Set assoc type
public setAssocType ( $assocType )
$assocType int ASSOC_TYPE_...

setQuery() 공개 메소드

Set the query
public setQuery ( $query )

setStageId() 공개 메소드

Set the stage id
public setStageId ( $stageId )

updateEntry() 공개 메소드

public updateEntry ( $request, $rowId, $newRowId )

프로퍼티 상세

$_assocId 공개적으로 프로퍼티

Assoc ID (per _assocType)
public $_assocId

$_assocType 공개적으로 프로퍼티

ASSOC_TYPE_...
public $_assocType

$_isNew 공개적으로 프로퍼티

True iff this is a newly-created query
public $_isNew

$_query 공개적으로 프로퍼티

The query being edited *
public $_query

$_stageId 공개적으로 프로퍼티

The stage id associated with the query being edited *
public $_stageId