Namespace: Files

OCA.Files

Namespace for the files app
Source:

Classes

FileActions
FileActionsMenu
FileSummary
NewFileMenu
BreadCrumb
DetailFileInfoView
DetailsView
DetailTabView
FavoritesFileList
FileList
MainFileInfoDetailView
Navigation
RecentFileList

Namespaces

Admin
App
FavoritesPlugin
GotoPlugin
RecentPlugin
TagsPlugin

Type Definitions

FileAction

File action attributes.
Type:
  • Object
Properties:
Name Type Attributes Description
name String identifier of the action
displayName String | OCA.Files.FileActions~displayNameFunction display name string for the action, or function that returns the display name. Defaults to the name given in name property
mime String mime type
permissions int permissions
icon function | String icon path to the icon or function that returns it (deprecated, use iconClass instead)
iconClass String | OCA.Files.FileActions~iconClassFunction class name of the icon (recommended for theming)
render OCA.Files.FileActions~renderActionFunction <optional>
optional rendering function
actionHandler OCA.Files.FileActions~actionHandler action handler function
Source:
To Do:
  • make this a real class in the future

FileActionContext

File action context attributes.
Type:
  • Object
Properties:
Name Type Description
$file Object jQuery file row element
fileActions OCA.Files.FileActions file actions object
fileList OCA.Files.FileList file list object
Source:

OCA.Files

Namespace for the files app
Source:

Classes

FileActions
FileActionsMenu
FileSummary
NewFileMenu
BreadCrumb
DetailFileInfoView
DetailsView
DetailTabView
FavoritesFileList
FileList
MainFileInfoDetailView
Navigation
RecentFileList

Namespaces

Admin
App
FavoritesPlugin
GotoPlugin
RecentPlugin
TagsPlugin

Type Definitions

FileAction

File action attributes.
Type:
  • Object
Properties:
Name Type Attributes Description
name String identifier of the action
displayName String | OCA.Files.FileActions~displayNameFunction display name string for the action, or function that returns the display name. Defaults to the name given in name property
mime String mime type
permissions int permissions
icon function | String icon path to the icon or function that returns it (deprecated, use iconClass instead)
iconClass String | OCA.Files.FileActions~iconClassFunction class name of the icon (recommended for theming)
render OCA.Files.FileActions~renderActionFunction <optional>
optional rendering function
actionHandler OCA.Files.FileActions~actionHandler action handler function
Source:
To Do:
  • make this a real class in the future

FileActionContext

File action context attributes.
Type:
  • Object
Properties:
Name Type Description
$file Object jQuery file row element
fileActions OCA.Files.FileActions file actions object
fileList OCA.Files.FileList file list object
Source: