ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilFSStorageSession Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilFSStorageSession:
+ Collaboration diagram for ilFSStorageSession:

Public Member Functions

 __construct (int $a_event_id=0)
 
 createDirectory ()
 
- Public Member Functions inherited from ilFileSystemAbstractionStorage
 __construct (int $a_storage_type, bool $a_path_conversion, int $a_container_id)
 Constructor. More...
 
 fileExists (string $a_absolute_path)
 
 getContainerId ()
 
 writeToFile (string $a_data, $a_absolute_path)
 
 copyFile (string $a_from, string $a_to)
 
 create ()
 
 getAbsolutePath ()
 Calculates the full path on the filesystem. More...
 
 delete ()
 
 deleteDirectory (string $a_abs_name)
 
 deleteFile (string $a_abs_name)
 
 appendToPath (string $a_appendix)
 
 getStorageType ()
 
 getPath ()
 

Protected Member Functions

 getPathPostfix ()
 
 getPathPrefix ()
 
- Protected Member Functions inherited from ilFileSystemAbstractionStorage
 getLegacyFullAbsolutePath (string $relative_path)
 
 getFileSystemService ()
 
 getPathPrefix ()
 Get path prefix. More...
 
 getPathPostfix ()
 Get directory name. More...
 
 getLegacyAbsolutePath ()
 Calculates the absolute filesystem storage location. More...
 
 init ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilFileSystemAbstractionStorage
static createPathFromId (int $a_container_id, string $a_name)
 
static _copyDirectory (string $a_sdir, string $a_tdir)
 
- Data Fields inherited from ilFileSystemAbstractionStorage
const STORAGE_WEB = 1
 
const STORAGE_DATA = 2
 
const STORAGE_SECURED = 3
 
- Protected Attributes inherited from ilFileSystemAbstractionStorage
string $path = null
 
ILIAS Filesystem Filesystems $file_system_service
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 28 of file class.ilFSStorageSession.php.

Constructor & Destructor Documentation

◆ __construct()

ilFSStorageSession::__construct ( int  $a_event_id = 0)

Definition at line 30 of file class.ilFSStorageSession.php.

References ILIAS\GlobalScreen\Provider\__construct(), and ilFileSystemAbstractionStorage\STORAGE_DATA.

+ Here is the call graph for this function:

Member Function Documentation

◆ createDirectory()

ilFSStorageSession::createDirectory ( )

Definition at line 35 of file class.ilFSStorageSession.php.

References ilFileSystemAbstractionStorage\getAbsolutePath(), and ilFileUtils\makeDirParents().

35  : bool
36  {
38  }
static makeDirParents(string $a_dir)
Create a new directory and all parent directories.
getAbsolutePath()
Calculates the full path on the filesystem.
+ Here is the call graph for this function:

◆ getPathPostfix()

ilFSStorageSession::getPathPostfix ( )
protected

Definition at line 40 of file class.ilFSStorageSession.php.

40  : string
41  {
42  return 'sess';
43  }

◆ getPathPrefix()

ilFSStorageSession::getPathPrefix ( )
protected

Definition at line 45 of file class.ilFSStorageSession.php.

45  : string
46  {
47  return 'ilSession';
48  }

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