Classes, interfaces and traits

Application

Class Application

« More »

Classes, interfaces and traits

ConfigException

Thrown when the configuration parser cannot parse a file

« More »

ConfigParser

Parses configuration files

« More »

ConfigValidator

Validates parsed configuration elements

« More »

Classes, interfaces and traits

Config

Trait Config

« More »

Files

Trait Files

« More »

HttpError

Our classes extend both Controller and ApiController, so we need to use traits to add some common methods

« More »

PathManipulation

« More »

Preview

Class Preview

« More »

ConfigApiController

Class ConfigApiController

« More »

ConfigController

Class ConfigController

« More »

ConfigPublicController

Class ConfigPublicController

Note: Type casting only works if the "@param" parameters are also included in this class as their not yet inherited

« More »

FilesApiController

Class FilesApiController

« More »

FilesController

Class FilesController

« More »

FilesPublicController

Class FilesPublicController

Note: Type casting only works if the "@param" parameters are also included in this class as their not yet inherited

« More »

PageController

Generates templates for the landing page from within ownCloud, the public gallery and error pages

« More »

PreviewApiController

Class PreviewApiController

« More »

PreviewController

Class PreviewController

« More »

PreviewPublicController

Class PreviewPublicController

Note: Type casting only works if the "@param" parameters are also included in this class as their not yet inherited

« More »

Classes, interfaces and traits

Environment

Builds the environment so that the services have access to the files and folders' owner

« More »

EnvironmentException

Thrown when the Environment runs into a problem

« More »

NotFoundEnvException

Thrown when the Environment cannot find or access a node

« More »

Classes, interfaces and traits

ImageResponse

A renderer for images

« More »

Classes, interfaces and traits

CheckException

Thrown when one of the tests in the "check" middlewares fails

« More »

CheckMiddleware

Checks that we have a valid token linked to a valid resource and that the user is authorised to access it

« More »

EnvCheckMiddleware

Checks that we have a valid token linked to a valid resource and that the user is authorised to access it

Once all checks have been passed, the environment is ready to use

« More »

SharingCheckMiddleware

Checks whether the "sharing check" is enabled

« More »

Classes, interfaces and traits

Preview

Generates previews

« More »

Classes, interfaces and traits

Base64Encode

Base64 encoding utility method

« More »

ConfigService

Finds configurations files and returns a configuration array

Checks the current and parent folders for configuration files and to see if we're allowed to look for media file Supports explicit inheritance

« More »

DownloadService

Prepares the file to download

« More »

FilesService

Contains various methods to retrieve information from the filesystem

« More »

ForbiddenServiceException

Thrown when the service does not have access to a node

« More »

InternalServerErrorServiceException

Thrown when the service ran into an internal server error

« More »

NotFoundServiceException

Thrown when the service cannot find a node

« More »

PreviewService

Generates previews

« More »

SearchFolderService

Looks for the folder to use, based on the request made by the client

This is to make sure we were not:

  • given a file
  • given a folder name with a typo
« More »

SearchMediaService

Searches the instance for media files which can be shown

« More »

Service

Contains methods which all services will need

« More »

ServiceException

Thrown when the service cannot reply to a request

« More »

ThumbnailService

Deals with any thumbnail specific requests

« More »

Classes, interfaces and traits

EventSource

Class EventSource

Wrapper for server side events (http://en.wikipedia.org/wiki/Server-sent_events)

This version is tailored for the Gallery app, do not use elsewhere!

« More »