GetFilesAndFoldersService
class GetFilesAndFoldersService implements GetFilesAndFoldersServiceInterface
Class used to retrieve folder listings from onedrive.
Properties
| protected array|bool | $drive | The drive array with all the values. |
|
| protected GraphService | $graphService | Drupal\o365\GraphService definition. |
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.
array
renderFileList(int $limit = 5)
Render the list of files and folders.
Details
at line 33
__construct(GraphService $o365_graph)
Constructs a new GetFilesAndFoldersService object.
at line 40
mixed
listFilesAndFolders(mixed $folder = FALSE)
List all files and folders.
at line 53
array|mixed
listSharedFilesAndFolders(int $limit = 10)
List all the shared files and folders.
at line 63
array|mixed
listSpecialFilesAndFolders(string $type, int $limit = 5)
Get a list of special files and folders. For instance the recent files.
at line 94
protected array
renderFileList(int $limit = 5)
Render the list of files and folders.