PHP Class PageHandler, pkp-lib

Inheritance: extends HttpCall
Show file Open project: pkp/pkp-lib Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
authorize ( $request, &$args, $roleAssignments )
css ( $args, $request ) Get the compiled CSS
tasks ( $args, $request ) : JSONMessage Display the tasks component
userNavBackend ( $args, $request ) : JSONMessage Display the backend user-context menu.

Private Methods

Method Description
setupHeader ( $args, $request ) : JSONMessage Setup and assign variables for any templates that want the overall header context.

Method Details

__construct() public method

Constructor
public __construct ( )

authorize() public method

public authorize ( $request, &$args, $roleAssignments )

css() public method

Get the compiled CSS
public css ( $args, $request )
$args array
$request PKPRequest

tasks() public method

Display the tasks component
public tasks ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

userNavBackend() public method

Display the backend user-context menu.
public userNavBackend ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object