PHP Class SectionGridHandler, ojs

Inheritance: extends SetupGridHandler
Afficher le fichier Open project: pkp/ojs

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
getRowInstance ( ) : SectionGridRow Get the row handler - override the default row handler

Method Details

__construct() public méthode

Constructor
public __construct ( )

addSection() public méthode

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

deleteSection() public méthode

Delete a section
public deleteSection ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
Résultat JSONMessage JSON object

editSection() public méthode

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

getDataElementSequence() public méthode

public getDataElementSequence ( $row )

getRowInstance() protected méthode

Get the row handler - override the default row handler
protected getRowInstance ( ) : SectionGridRow
Résultat SectionGridRow

initFeatures() public méthode

public initFeatures ( $request, $args )

initialize() public méthode

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

setDataElementSequence() public méthode

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

updateSection() public méthode

Update a section
public updateSection ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
Résultat JSONMessage JSON object