ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Tile image object. More...
Public Member Functions | ||||
__construct (ilObjectService $service, int $obj_id) | ||||
Constructor. More... | ||||
getExtension () | ||||
Get extenstion.
| ||||
copy (int $target_obj_id) | ||||
Copy tile image to repository object.
| ||||
delete () | ||||
Delete tile image. More... | ||||
getRelativeDirectory () | ||||
exists () | ||||
Does tile image file exist?
| ||||
getFullPath () | ||||
Get full path of the tile image file.
| ||||
createFromImportDir ($source_dir, $ext) | ||||
Public Member Functions inherited from ilObjectTileImageInterface | ||||
saveFromHttpRequest (string $tmpname) | ||||
Save image from request. More... | ||||
Protected Member Functions | |
persistImageState ($filename) | |
createDirectory () | |
getFileName () | |
getRelativePath () | |
Protected Attributes | |
$service | |
$obj_id | |
$web | |
$upload | |
$ext | |
Tile image object.
Definition at line 11 of file class.ilObjectTileImage.php.
ilObjectTileImage::__construct | ( | ilObjectService | $service, |
int | $obj_id | ||
) |
Constructor.
Definition at line 41 of file class.ilObjectTileImage.php.
References $obj_id, $service, ilContainer\_lookupContainerSetting(), ilObjectService\filesystem(), and ilObjectService\upload().
ilObjectTileImage::copy | ( | int | $target_obj_id | ) |
Copy tile image to repository object.
int | $target_obj_id |
Implements ilObjectTileImageInterface.
Definition at line 61 of file class.ilObjectTileImage.php.
References ilContainer\_deleteContainerSettings(), ilContainer\_writeContainerSetting(), exists(), getExtension(), and getRelativePath().
|
protected |
Definition at line 160 of file class.ilObjectTileImage.php.
References getRelativeDirectory().
Referenced by delete().
ilObjectTileImage::createFromImportDir | ( | $source_dir, | |
$ext | |||
) |
$source_dir | |
$ext |
Definition at line 238 of file class.ilObjectTileImage.php.
References $ext, ilContainer\_writeContainerSetting(), getRelativeDirectory(), ilUtil\getWebspaceDir(), and ilUtil\rCopy().
ilObjectTileImage::delete | ( | ) |
Delete tile image.
Implements ilObjectTileImageInterface.
Definition at line 87 of file class.ilObjectTileImage.php.
References $result, $results, $type, ilContainer\_deleteContainerSettings(), createDirectory(), ilUtil\execConvert(), getFileName(), getRelativeDirectory(), getRelativePath(), ILIAS\FileUpload\DTO\ProcessingStatus\OK, persistImageState(), and ilObjectTileImageInterface\saveFromHttpRequest().
ilObjectTileImage::exists | ( | ) |
Does tile image file exist?
Implements ilObjectTileImageInterface.
Definition at line 211 of file class.ilObjectTileImage.php.
References ilContainer\_lookupContainerSetting(), and getRelativePath().
Referenced by copy().
ilObjectTileImage::getExtension | ( | ) |
Get extenstion.
Implements ilObjectTileImageInterface.
Definition at line 53 of file class.ilObjectTileImage.php.
References $ext.
Referenced by copy(), and getFileName().
|
protected |
Definition at line 192 of file class.ilObjectTileImage.php.
References getExtension().
Referenced by delete(), and getRelativePath().
ilObjectTileImage::getFullPath | ( | ) |
Get full path of the tile image file.
Implements ilObjectTileImageInterface.
Definition at line 222 of file class.ilObjectTileImage.php.
References getRelativePath(), and ilUtil\getWebspaceDir().
ilObjectTileImage::getRelativeDirectory | ( | ) |
Definition at line 180 of file class.ilObjectTileImage.php.
Referenced by createDirectory(), createFromImportDir(), delete(), and getRelativePath().
|
protected |
Definition at line 200 of file class.ilObjectTileImage.php.
References getFileName(), and getRelativeDirectory().
Referenced by copy(), delete(), exists(), and getFullPath().
|
protected |
string | $filename |
Definition at line 146 of file class.ilObjectTileImage.php.
References $ext, $filename, ilContainer\_deleteContainerSettings(), and ilContainer\_writeContainerSetting().
Referenced by delete().
|
protected |
Definition at line 36 of file class.ilObjectTileImage.php.
Referenced by createFromImportDir(), getExtension(), and persistImageState().
|
protected |
Definition at line 21 of file class.ilObjectTileImage.php.
Referenced by __construct().
|
protected |
Definition at line 16 of file class.ilObjectTileImage.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilObjectTileImage.php.
|
protected |
Definition at line 26 of file class.ilObjectTileImage.php.