PHP Class Redaxscript\Validator\Access

Since: 2.2.0
Author: Henry Ruhs
Author: Sven Weingartner
Inheritance: implements Redaxscript\Validator\ValidatorInterface
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Public Methods

Method Description
validate ( string $access = null, string $groups = null ) : boolean validate the access

Method Details

validate() public method

validate the access
Since: 2.2.0
public validate ( string $access = null, string $groups = null ) : boolean
$access string content related access restriction
$groups string groups the user is a member of
return boolean