PHP 클래스 SectionGridHandler, ojs

상속: extends SetupGridHandler
파일 보기 프로젝트 열기: pkp/ojs

공개 메소드들

메소드 설명
__construct ( ) Constructor
addSection ( $args, $request ) An action to add a new section
deleteSection ( $args, $request ) : JSONMessage Delete a section
editSection ( $args, $request ) : JSONMessage An action to edit a section
getDataElementSequence ( $row )
initFeatures ( $request, $args )
initialize ( $request ) * Configure the grid
setDataElementSequence ( $request, $rowId, $gridDataElement, $newSequence )
updateSection ( $args, $request ) : JSONMessage Update a section

보호된 메소드들

메소드 설명
getRowInstance ( ) : SectionGridRow Get the row handler - override the default row handler

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

addSection() 공개 메소드

An action to add a new section
public addSection ( $args, $request )
$args array
$request PKPRequest

deleteSection() 공개 메소드

Delete a section
public deleteSection ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
리턴 JSONMessage JSON object

editSection() 공개 메소드

An action to edit a section
public editSection ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
리턴 JSONMessage Serialized JSON object

getDataElementSequence() 공개 메소드

public getDataElementSequence ( $row )

getRowInstance() 보호된 메소드

Get the row handler - override the default row handler
protected getRowInstance ( ) : SectionGridRow
리턴 SectionGridRow

initFeatures() 공개 메소드

public initFeatures ( $request, $args )

initialize() 공개 메소드

* Configure the grid
public initialize ( $request )
$request PKPRequest

setDataElementSequence() 공개 메소드

public setDataElementSequence ( $request, $rowId, $gridDataElement, $newSequence )

updateSection() 공개 메소드

Update a section
public updateSection ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
리턴 JSONMessage JSON object