|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilPortfolioCertificateFileService:Public Member Functions | |
| __construct (?Filesystem $filesystem=null, ?ilLogger $logger=null) | |
| createCertificateFile (int $userId, int $objectId) | |
| deliverCertificate (int $userId, int $objectId) | |
| deleteUserDirectory (int $userId) | |
| deleteCertificateFile (int $userId, int $objectId) | |
| createCertificateFilePath (int $userId, int $objectId) | |
Private Attributes | |
| Filesystem | $filesystem |
| ilLogger | $logger |
| const | PERSISTENT_CERTIFICATES_DIRECTORY = 'PersistentCertificates/' |
| const | CERTIFICATE_FILENAME = 'certificate.pdf' |
Definition at line 29 of file class.ilPortfolioCertificateFileService.php.
| ilPortfolioCertificateFileService::__construct | ( | ?Filesystem | $filesystem = null, |
| ?ilLogger | $logger = null |
||
| ) |
Definition at line 36 of file class.ilPortfolioCertificateFileService.php.
References $DIC, $filesystem, $logger, ILIAS\Repository\filesystem(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilPortfolioCertificateFileService::createCertificateFile | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| FileAlreadyExistsException | |
| IOException | |
| ilException |
Definition at line 58 of file class.ilPortfolioCertificateFileService.php.
References CERTIFICATE_FILENAME, ILIAS\Repository\filesystem(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilPortfolioCertificateFileService::createCertificateFilePath | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| ilException |
Definition at line 142 of file class.ilPortfolioCertificateFileService.php.
References CERTIFICATE_FILENAME, CLIENT_DATA_DIR, and ILIAS\Repository\filesystem().
Here is the call graph for this function:| ilPortfolioCertificateFileService::deleteCertificateFile | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| FileNotFoundException | |
| IOException |
Definition at line 125 of file class.ilPortfolioCertificateFileService.php.
References CERTIFICATE_FILENAME, and ILIAS\Repository\filesystem().
Here is the call graph for this function:| ilPortfolioCertificateFileService::deleteUserDirectory | ( | int | $userId | ) |
| int | $userId |
| IOException |
Definition at line 110 of file class.ilPortfolioCertificateFileService.php.
References ILIAS\Repository\filesystem().
Here is the call graph for this function:| ilPortfolioCertificateFileService::deliverCertificate | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| ilException | |
| ilFileUtilsException |
Definition at line 87 of file class.ilPortfolioCertificateFileService.php.
References CERTIFICATE_FILENAME, CLIENT_DATA_DIR, ilFileDelivery\deliverFileAttached(), ILIAS\Repository\filesystem(), and ilFileUtils\getValidFilename().
Here is the call graph for this function:
|
private |
Definition at line 31 of file class.ilPortfolioCertificateFileService.php.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilPortfolioCertificateFileService.php.
Referenced by __construct().
|
private |
Definition at line 34 of file class.ilPortfolioCertificateFileService.php.
Referenced by createCertificateFile(), createCertificateFilePath(), deleteCertificateFile(), and deliverCertificate().
|
private |
Definition at line 33 of file class.ilPortfolioCertificateFileService.php.