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

Public Member Functions

 __construct ($a_container_id=0)
- 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 ()
 Get directory name.
 getPathPrefix ()
 Get path prefix.
- Protected Member Functions inherited from ilFileSystemStorage
 init ()
 Read path info.

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 STORAGE_SECURED = 3
const FACTOR = 100
const MAX_EXPONENT = 3
const SECURED_DIRECTORY = "sec"
- Protected Attributes inherited from ilFileSystemStorage
 $path

Detailed Description

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

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

Constructor & Destructor Documentation

ilFSStorageBlog::__construct (   $a_container_id = 0)

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

{
parent::__construct(self::STORAGE_SECURED, true, $a_container_id);
}

Member Function Documentation

ilFSStorageBlog::getPathPostfix ( )
protected

Get directory name.

E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically

protected

Returns
string directory name

Reimplemented from ilFileSystemStorage.

Definition at line 39 of file class.ilFSStorageBlog.php.

{
return 'blog';
}
ilFSStorageBlog::getPathPrefix ( )
protected

Get path prefix.

Prefix that will be prepended to the path No trailing slash. E.g ilFiles for files

protected

Returns
string path prefix e.g files

Reimplemented from ilFileSystemStorage.

Definition at line 44 of file class.ilFSStorageBlog.php.

{
return 'ilBlog';
}

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