ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilFSStorageEvent Class Reference
+ Inheritance diagram for ilFSStorageEvent:
+ Collaboration diagram for ilFSStorageEvent:

Public Member Functions

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

Protected Member Functions

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

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.
 _copyDirectory ($a_source, $a_target)
 Copy directory and all contents.
static _createPathFromId ($a_container_id, $a_name)
 Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5.
- Data Fields inherited from ilFileSystemStorage
const STORAGE_WEB = 1
const STORAGE_DATA = 2
const FACTOR = 100
const MAX_EXPONENT = 3
- 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.ilFSStorageEvent.php.

Constructor & Destructor Documentation

ilFSStorageEvent::__construct (   $a_event_id = 0)

Constructor.

public

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

References $log, and ilFileSystemStorage\STORAGE_DATA.

{
global $log;
$this->log = $log;
}

Member Function Documentation

ilFSStorageEvent::createDirectory ( )

Create directory.

public

Parameters

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

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

+ Here is the call graph for this function:

ilFSStorageEvent::getPathPostfix ( )
protected

Implementation of abstract method.

protected

Reimplemented from ilFileSystemStorage.

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

{
return 'event';
}
ilFSStorageEvent::getPathPrefix ( )
protected

Implementation of abstract method.

protected

Reimplemented from ilFileSystemStorage.

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

{
return 'ilEvents';
}

Field Documentation

ilFSStorageEvent::$log
private

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

Referenced by __construct().


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