ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilFSStorageMailMailMigration Class Reference
+ Inheritance diagram for ilFSStorageMailMailMigration:
+ Collaboration diagram for ilFSStorageMailMailMigration:

Public Member Functions

 __construct ($a_container_id, $a_usr_id)
 Constructor.
 getRelativePathExMailDirectory ()
- Public Member Functions inherited from ilFileSystemStorageMailMigration
 __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 ()

Protected Member Functions

 getPathPostfix ()
 Implementation of abstract method.
 getPathPrefix ()
 Implementation of abstract method.

Private Attributes

 $usr_id = 0

Additional Inherited Members

- Static Public Member Functions inherited from ilFileSystemStorageMailMigration
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.
- Data Fields inherited from ilFileSystemStorageMailMigration
const STORAGE_WEB = 1
const STORAGE_DATA = 2
const FACTOR = 100
const MAX_EXPONENT = 3

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

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

Constructor & Destructor Documentation

ilFSStorageMailMailMigration::__construct (   $a_container_id,
  $a_usr_id 
)

Constructor.

public

Parameters
intobject id of container (e.g file_id or mob_id)

Definition at line 43 of file class.ilFSStorageMailMailMigration.php.

References ilFileSystemStorageMailMigration\appendToPath().

{
$this->usr_id = $a_usr_id;
parent::__construct(self::STORAGE_DATA,true,$a_container_id);
$this->appendToPath('_'.$this->usr_id);
}

+ Here is the call graph for this function:

Member Function Documentation

ilFSStorageMailMailMigration::getPathPostfix ( )
protected

Implementation of abstract method.

protected

Reimplemented from ilFileSystemStorageMailMigration.

Definition at line 58 of file class.ilFSStorageMailMailMigration.php.

{
return 'mail';
}
ilFSStorageMailMailMigration::getPathPrefix ( )
protected

Implementation of abstract method.

protected

Reimplemented from ilFileSystemStorageMailMigration.

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

Referenced by getRelativePathExMailDirectory().

{
return 'mail';
}

+ Here is the caller graph for this function:

ilFSStorageMailMailMigration::getRelativePathExMailDirectory ( )

Field Documentation

ilFSStorageMailMailMigration::$usr_id = 0
private

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


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