Documentation

O365SharepointFieldController extends ControllerBase
in package

Returns responses for Office 365 - SharePoint Search Field routes.

Table of Contents

$nodeStorage  : NodeStorage
The node storage.
$o365Graph  : GraphService
The o365.graph service.
__construct()  : mixed
The controller constructor.
create()  : mixed
{@inheritdoc}
handleAutocomplete()  : JsonResponse
Handler for autocomplete request.
handleCkEditorAutocomplete()  : JsonResponse
Handler for the CKEditor autocomplete.
getData()  : mixed
Get the data from sharepoint.

Properties

Methods

create()

{@inheritdoc}

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

handleAutocomplete()

Handler for autocomplete request.

public handleAutocomplete(Request $request) : JsonResponse
Parameters
$request : Request

The request.

Tags
throws
TempStoreException
throws
GuzzleException
throws
IdentityProviderException
Return values
JsonResponse

The JSON response object.

handleCkEditorAutocomplete()

Handler for the CKEditor autocomplete.

public handleCkEditorAutocomplete(Request $request) : JsonResponse
Parameters
$request : Request

The request.

Tags
throws
TempStoreException
throws
GuzzleException
throws
IdentityProviderException
Return values
JsonResponse

The JSON response object.

getData()

Get the data from sharepoint.

protected getData(Request $request[, string $scope = '' ]) : mixed
Parameters
$request : Request

The request.

$scope : string = ''

The scope, with this we can filter out folders.

Tags
throws
TempStoreException
throws
GuzzleException
throws
IdentityProviderException
Return values
mixed

Search results