Documentation

GetFilesAndFoldersServiceInterface

Interface for GetFilesAndFoldersService class.

Table of Contents

listFilesAndFolders()  : mixed
List all files and folders.
listSharedFilesAndFolders()  : array<string|int, mixed>|mixed
List all the shared files and folders.
listSpecialFilesAndFolders()  : array<string|int, mixed>|mixed
Get a list of special files and folders. For instance the recent files.

Methods

listFilesAndFolders()

List all files and folders.

public listFilesAndFolders([mixed $folder = FALSE ]) : mixed
Parameters
$folder : mixed = FALSE

The ID of a folder or FALSE for the root.

Tags
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
Return values
mixed

The list of files and folders.

listSharedFilesAndFolders()

List all the shared files and folders.

public listSharedFilesAndFolders([int $limit = 10 ]) : array<string|int, mixed>|mixed
Parameters
$limit : int = 10

The max amount of items to return.

Tags
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
Return values
array<string|int, mixed>|mixed

The list of files and folders.

listSpecialFilesAndFolders()

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

public listSpecialFilesAndFolders(string $type) : array<string|int, mixed>|mixed
Parameters
$type : string

The special type.

Tags
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
Return values
array<string|int, mixed>|mixed

The list of files and folders.

Search results