You are here

public static function filedepot_permission_object::createNoPermissionsObject in filedepot 7

Create and return a new instance of the filedepot_permission_object with no permissions set

Parameters

type $cid:

Return value

type

1 call to filedepot_permission_object::createNoPermissionsObject()
filedepot::getPermissionObject in ./filedepot.class.php
Function to retreive all user access records for a specific category and user

File

./permissions.class.php, line 56
permissions.class.php Permissions management class for the Filedepot module

Class

filedepot_permission_object
Holds information about a CIDs permissions

Code

public static function createNoPermissionsObject($cid) {
  $obj = new filedepot_permission_object($cid);
  return $obj;
}