Class ilFSStorageFile.
More...
|
| __construct ($a_container_id=0) |
| ilFSStorageFile constructor. More...
|
|
| __construct ($a_container_id=0) |
| Constructor. More...
|
|
| __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) |
|
| __construct ($a_storage_type, $a_path_conversion, $a_container_id) |
| Constructor. More...
|
|
| fileExists ($a_absolute_path) |
|
| getContainerId () |
|
| create () |
| Create directory. More...
|
|
| getAbsolutePath () |
| Calculates the full path on the filesystem. More...
|
|
| writeToFile ($a_data, $a_absolute_path) |
|
| deleteFile ($a_absolute_path) |
|
| deleteDirectory ($a_absolute_path) |
|
| delete () |
|
| copyFile ($a_from, $a_to) |
|
| appendToPath ($a_appendix) |
|
| getStorageType () |
|
| getPath () |
|
◆ __construct() [1/2]
ilFSStorageFile::__construct |
( |
|
$a_container_id = 0 | ) |
|
◆ __construct() [2/2]
ilFSStorageFile::__construct |
( |
|
$a_container_id = 0 | ) |
|
Constructor.
public
- Parameters
-
int | storage type |
bool | En/Disable automatic path conversion. If enabled files with id 123 will be stored in directory files/1/file_123 |
int | object id of container (e.g file_id or mob_id) |
Definition at line 44 of file class.ilFSStorageFile.php.
46 parent::__construct(self::STORAGE_DATA,
true, $a_container_id);
◆ getPathPostfix() [1/2]
ilFSStorageFile::getPathPostfix |
( |
| ) |
|
|
protected |
◆ getPathPostfix() [2/2]
ilFSStorageFile::getPathPostfix |
( |
| ) |
|
|
protected |
◆ getPathPrefix() [1/2]
ilFSStorageFile::getPathPrefix |
( |
| ) |
|
|
protected |
◆ getPathPrefix() [2/2]
ilFSStorageFile::getPathPrefix |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: