interface GetFilesAndFoldersServiceInterface

Interface for GetFilesAndFoldersService class.

Methods

mixed
listFilesAndFolders(mixed $folder = FALSE)

List all files and folders.

array|mixed
listSharedFilesAndFolders(int $limit = 10)

List all the shared files and folders.

array|mixed
listSpecialFilesAndFolders(string $type, int $limit = 5)

Get a list of special files and folders. For instance the recent files.

Details

at line 23
mixed listFilesAndFolders(mixed $folder = FALSE)

List all files and folders.

Parameters

mixed $folder

The ID of a folder or FALSE for the root.

Return Value

mixed

The list of files and folders.

Exceptions

TempStoreException
IdentityProviderException
GraphException

at line 44
array|mixed listSharedFilesAndFolders(int $limit = 10)

List all the shared files and folders.

Parameters

int $limit

The max amount of items to return.

Return Value

array|mixed

The list of files and folders.

Exceptions

TempStoreException
IdentityProviderException
GraphException

at line 61
array|mixed listSpecialFilesAndFolders(string $type, int $limit = 5)

Get a list of special files and folders. For instance the recent files.

Parameters

string $type

The special type.

int $limit

The number of files to get.

Return Value

array|mixed

The list of files and folders.

Exceptions

TempStoreException
IdentityProviderException
GraphException