public static bool
(mixed $rightType = 'accessuserid', mixed $rightUsers = array(), mixed $rightGroup = 0, mixed $userAID = array(), mixed $userId = 0, mixed $additionalParam = 0)
Method to check if the user have access to category
Display or hide the not accessible categories - subcat folder will be not displayed
Check whether category access level allows access
Parameters
- string  $params  rightType: accessuserid, uploaduserid, deleteuserid - access, upload, delete right
 - int  $params  rightUsers - All selected users which should have the "rightType" right
 - int  $params  rightGroup - All selected Groups of users(public, registered or special ) which should have the "rT" right
 - int  $params  userAID - Specific group of user who display the category in front (public, special, registerd)
 - int  $params  userId - Specific id of user who display the category in front (1,2,3,...)
 - int  $params  Additional param - e.g.  $display_access_category  (Should be unaccessed category displayed)
 
Returns
- bool 1 or 0
$rightUsers -> $userId
$rightGroup -> $userAID