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
public static array
(mixed $name, mixed $id, mixed $active, mixed $nouser = 0, mixed $javascript = NULL, mixed $order = 'name', mixed $reg = 1, mixed $returnArray = 0)
Method to display multiple select box
Parameters
- string $name Name (id, name parameters)
- array $active Array of items which will be selected
- int $nouser Select no user
- string $javascript Add javascript to the select box
- string $order Ordering of items
- int $reg Only registered users
Returns