Microsoft 365 Connector

OneDriveListController extends ControllerBase
in package

FinalYes

Class OndeDriveListController.

Table of Contents

Properties

$getFilesAndFoldersService  : GetFilesAndFoldersServiceInterface
The get files and folders service.

Methods

__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

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.

✖ Error 404 while fetching file: ✖ Error 404 while fetching file: 
On this page

Search results