PHP Class PluginGridRow, ojs

Inheritance: extends PKPPluginGridRow
显示文件 Open project: pkp/ojs

Public Methods

Method Description
__construct ( $userRoles, $contextLevel ) Constructor

Protected Methods

Method Description
_canEdit ( $plugin ) : boolean Return if user can edit a plugin settings or not.

Method Details

__construct() public method

Constructor
public __construct ( $userRoles, $contextLevel )
$userRoles array
$contextLevel int CONTEXT_...

_canEdit() protected method

Return if user can edit a plugin settings or not.
protected _canEdit ( $plugin ) : boolean
$plugin Plugin
return boolean