Namespace: App

OCA.Files.App

Members

(static) _filesConfig

Backbone model for storing files preferences
Source:

(static) fileList :OCA.Files.FileList

File list for the "All files" section.
Type:
Source:

(static) navigation :OCA.Files.Navigation

Navigation control
Type:
Source:

Methods

(static) _changeUrl()

Change the URL to point to the given dir and view
Source:

(static) _makeUrlParams(params) → {string}

Encode URL params into a string, except for the "dir" attribute that gets encoded as path where "/" is not encoded
Parameters:
Name Type Description
params Object.<string>
Source:
Returns:
encoded params
Type
string

(static) _onAfterDirectoryChanged()

Event handler for when an app notified that its directory changed
Source:

(static) _onChangeViewerMode()

Event handler for when an app notifies that it needs space for viewer mode.
Source:

(static) _onDirectoryChanged()

Event handler for when an app notified that its directory changed
Source:

(static) _onNavigationChanged()

Event handler for when the current navigation item has changed
Source:

(static) _onPopState()

Event handler for when the URL changed
Source:

(static) _onShowHiddenFilesChange() → {undefined}

Toggle showing hidden files according to the settings checkbox
Source:
Returns:
Type
undefined

(static) _persistShowHiddenFilesState() → {undefined}

Persist show hidden preference on the server
Source:
Returns:
Type
undefined

(static) _setupEvents()

Setup events based on URL changes
Source:

(static) destroy()

Destroy the app
Source:

(static) getActiveView()

Returns the view id of the currently active view
Source:
Returns:
view id

(static) getCurrentAppContainer()

Returns the container of the currently visible app.
Source:
Returns:
app container

(static) getFilesConfig() → {Backbone.Model}

Source:
Returns:
Type
Backbone.Model

(static) initialize()

Initializes the files app
Source:

(static) setActiveView(viewId)

Sets the currently active view
Parameters:
Name Type Description
viewId view id
Source: