new FileList($el, optionsopt)
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
$el |
container element with existing markup for the .files-controls and a table | ||||||||||
options |
<optional> |
map of options, see other parameters
Properties
|
Extends
- OCA.Files.FileList
Members
-
_entities
-
Whether the list shows the files shared with the user (true) or the files that the user shared with others (false).
Methods
-
getDirectoryPermissions()
-
Returns the directory permissions
Returns:
- permission value as integer -
setSharedWithUser(state)
-
Set whether the list should contain outgoing shares or incoming shares.
Parameters:
Name Type Description state
true for incoming shares, false otherwise