Stud.IP  5.4
FilesystemVueDataManager Class Reference

Static Public Member Functions

static getFileVueData (FileType $file, FolderType $topFolder, $last_visitdate=null)
 
static getFolderVueData (FolderType $folder, FolderType $topFolder)
 

Detailed Description

Class FilesystemVueDataManager is a manager that provides for a file or a folder the data that the vue component FilesTable needs to display the file or folder.

Member Function Documentation

◆ getFileVueData()

static getFileVueData ( FileType  $file,
FolderType  $topFolder,
  $last_visitdate = null 
)
static

Provides for a file the data that the vue component FilesTable needs to display that file. Data is provides as an array that can be easily transferred into a JSON-object.

Parameters
FileType$file: the file that should be displayed
FolderType$topFolder: The top-folder of that file
Returns
array of data

◆ getFolderVueData()

static getFolderVueData ( FolderType  $folder,
FolderType  $topFolder 
)
static

Provides for a folder the data that the vue component FilesTable needs to display that folder. Data is provides as an array that can be easily transferred into a JSON-object.

Parameters
FolderType$folder: the folder that should be displayed
FolderType$topFolder: The top-folder of that file
Returns
array of data

The documentation for this class was generated from the following file: