ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilFSStorageSession Class Reference
+ Inheritance diagram for ilFSStorageSession:
+ Collaboration diagram for ilFSStorageSession:

Public Member Functions

 __construct ($a_event_id=0)
 Constructor. More...
 
 createDirectory ()
 Create directory. More...
 
- Public Member Functions inherited from ilFileSystemStorage
 __construct ($a_storage_type, $a_path_conversion, $a_container_id)
 Constructor. More...
 
 getContainerId ()
 
 create ()
 Create directory. More...
 
 getAbsolutePath ()
 Get absolute path of storage directory. More...
 
 writeToFile ($a_data, $a_absolute_path)
 Write data to file. More...
 
 deleteFile ($a_abs_name)
 Delete file. More...
 
 deleteDirectory ($a_abs_name)
 Delete directory. More...
 
 delete ()
 Delete complete directory. More...
 
 copyFile ($a_from, $a_to)
 Copy files. More...
 
 appendToPath ($a_appendix)
 
 getStorageType ()
 
 getPath ()
 Get path. More...
 
 __construct ($a_storage_type, $a_path_conversion, $a_container_id)
 Constructor. More...
 
 create ()
 Create directory. More...
 
 getAbsolutePath ()
 Get absolute path of storage directory. More...
 
 getShortPath ()
 
 rename ($from, $to)
 

Protected Member Functions

 getPathPostfix ()
 Implementation of abstract method. More...
 
 getPathPrefix ()
 Implementation of abstract method. More...
 
- Protected Member Functions inherited from ilFileSystemStorage
 getPathPrefix ()
 Get path prefix. More...
 
 getPathPostfix ()
 Get directory name. More...
 
 init ()
 Read path info. More...
 
 getPathPrefix ()
 Get path prefix. More...
 
 getPathPostfix ()
 Get directory name. More...
 

Private Attributes

 $log
 

Additional Inherited Members

- Static Public Member Functions inherited from ilFileSystemStorage
static _createPathFromId ($a_container_id, $a_name)
 Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More...
 
 _copyDirectory ($a_source, $a_target)
 Copy directory and all contents. More...
 
static _createPathFromId ($a_container_id, $a_name)
 Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More...
 
- Data Fields inherited from ilFileSystemStorage
const STORAGE_WEB = 1
 
const STORAGE_DATA = 2
 
const STORAGE_SECURED = 3
 
const FACTOR = 100
 
const MAX_EXPONENT = 3
 
const SECURED_DIRECTORY = "sec"
 
- Protected Attributes inherited from ilFileSystemStorage
 $path
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

ilFSStorageSession::__construct (   $a_event_id = 0)

Constructor.

@access public

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

43 {
44 global $log;
45
46 $this->log = $log;
47 parent::__construct(ilFileSystemStorage::STORAGE_DATA,true,$a_event_id);
48 }

References $log, and ilFileSystemStorage\STORAGE_DATA.

Member Function Documentation

◆ createDirectory()

ilFSStorageSession::createDirectory ( )

Create directory.

@access public

Parameters

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

58 {
60 }
getAbsolutePath()
Get absolute path of storage directory.
static makeDirParents($a_dir)
Create a new directory and all parent directories.

References ilFileSystemStorage\getAbsolutePath(), and ilUtil\makeDirParents().

+ Here is the call graph for this function:

◆ getPathPostfix()

ilFSStorageSession::getPathPostfix ( )
protected

Implementation of abstract method.

@access protected

Reimplemented from ilFileSystemStorage.

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

70 {
71 return 'sess';
72 }

◆ getPathPrefix()

ilFSStorageSession::getPathPrefix ( )
protected

Implementation of abstract method.

@access protected

Reimplemented from ilFileSystemStorage.

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

81 {
82 return 'ilSession';
83 }

Field Documentation

◆ $log

ilFSStorageSession::$log
private

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

Referenced by __construct().


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