Documentation

OneDriveListController extends ControllerBase
in package

Class OndeDriveListController.

Table of Contents

$getFilesAndFoldersService  : GetFilesAndFoldersServiceInterface
The get files and folders service.
__construct()  : mixed
Constructs a new OneDriveListController object.
create()  : mixed
{@inheritdoc}
listFiles()  : mixed
Render a list of files and folders.
listSharedFiles()  : array<string|int, mixed>|mixed
Create a list of shared files and folders.

Properties

Methods

create()

{@inheritdoc}

public static create(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface
Return values
mixed

listFiles()

Render a list of files and folders.

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

The folder ID or false.

Tags
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
Return values
mixed

The list of files and folders.

listSharedFiles()

Create a list of shared files and folders.

public listSharedFiles() : array<string|int, mixed>|mixed
Tags
throws
TempStoreException
throws
IdentityProviderException
throws
GraphException
Return values
array<string|int, mixed>|mixed

The list of files and folders.

Search results