ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (\ilDBInterface $db, \ilComponentRepositoryWrite $component_repository, string $id) | |
setTest ($test) | |
setTimestmap ($timestmap) | |
getTimestmap () | |
getFormat () | |
getFormatLabel () | |
This method should return a human readable label for your export. More... | |
![]() | |
getMessage () | |
__construct (\ilDBInterface $db, \ilComponentRepositoryWrite $component_repository, string $id) | |
getPluginName () | |
getId () | |
getVersion () | |
Only very little classes seem to care about this: More... | |
getDirectory () | |
Only very little classes seem to care about this: More... | |
isActive () | |
Only very little classes seem to care about this: More... | |
needsUpdate () | |
install () | |
uninstall () | |
activate () | |
This will update (if required) and activate the plugin. More... | |
deactivate () | |
update () | |
loadLanguageModule () | |
Load language module for plugin. More... | |
txt (string $a_var) | |
Get Language Variable (prefix will be prepended automatically) More... | |
getTemplate (string $a_template, bool $a_par1=true, bool $a_par2=true) | |
ILIAS is moving towards UI components and plugins are expected to use these components. More... | |
getStyleSheetLocation (string $a_css_file) | |
ILIAS is moving towards UI components and plugins are expected to use these components. More... | |
addBlockFile ($a_tpl, $a_var, $a_block, $a_tplname) | |
ILIAS is moving towards UI components and plugins are expected to use these components. More... | |
getGlobalScreenProviderCollection () | |
exchangeUIRendererAfterInitialization (\ILIAS\DI\Container $dic) | |
This methods allows to replace the UI Renderer (see src/UI) of ILIAS after initialization by returning a closure returning a custom renderer. More... | |
exchangeUIFactoryAfterInitialization (string $dic_key, \ILIAS\DI\Container $dic) | |
This methods allows to replace some factory for UI Components (see src/UI) of ILIAS after initialization by returning a closure returning a custom factory. More... | |
Protected Member Functions | |
getTest () | |
buildExportFile (ilTestExportFilename $export_path) | |
This method is called if the user wants to export a test of YOUR export type If you throw an exception of type ilException with a respective language variable, ILIAS presents a translated failure message. More... | |
getFormatIdentifier () | |
A unique identifier which describes your export type, e.g. More... | |
![]() | |
init () | |
Object initialization. More... | |
getPluginInfo () | |
getComponentInfo () | |
getPluginSlotInfo () | |
afterInstall () | |
If you cannot get rid of the requirement to use this, adjust the install method in your subclass instead. More... | |
beforeUninstall () | |
If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More... | |
afterUninstall () | |
If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More... | |
beforeActivation () | |
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More... | |
afterActivation () | |
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More... | |
afterDeactivation () | |
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More... | |
updateDatabase () | |
beforeUpdate () | |
If you cannot get rid of the requirement to use this, adjust the update method in your subclass instead. More... | |
afterUpdate () | |
getLanguageHandler () | |
buildLanguageHandler () | |
readEventListening () | |
clearEventListening () | |
Protected Attributes | |
$test | |
$timestmap = -1 | |
![]() | |
ilDBInterface | $db |
ilComponentRepositoryWrite | $component_repository |
string | $id |
ilPluginLanguage | $language_handler = null |
bool | $lang_initialised = false |
ProviderCollection | $provider_collection |
string | $message = '' |
Static Protected Attributes | |
static | $reserved_formats |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Abstract parent class for all event hook plugin classes.
Definition at line 25 of file class.ilTestExportPlugin.php.
ilTestExportPlugin::__construct | ( | \ilDBInterface | $db, |
\ilComponentRepositoryWrite | $component_repository, | ||
string | $id | ||
) |
Definition at line 45 of file class.ilTestExportPlugin.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
abstractprotected |
This method is called if the user wants to export a test of YOUR export type If you throw an exception of type ilException with a respective language variable, ILIAS presents a translated failure message.
ilException |
string | $export_path | The path to store the export file |
Referenced by getFormat().
|
final |
ilException |
Definition at line 89 of file class.ilTestExportPlugin.php.
References $DIC, Vendor\Package\$e, $lng, buildExportFile(), getFormatIdentifier(), getFormatLabel(), getTest(), and ilPlugin\txt().
|
abstractprotected |
A unique identifier which describes your export type, e.g.
imsm There is currently no mapping implemented concerning the filename. Feel free to create csv, xml, zip files ....
Referenced by getFormat().
|
abstract |
This method should return a human readable label for your export.
Referenced by getFormat().
|
finalprotected |
Definition at line 64 of file class.ilTestExportPlugin.php.
References $test.
Referenced by getFormat().
ilTestExportPlugin::getTimestmap | ( | ) |
|
final |
ilObjTest | $test |
Definition at line 56 of file class.ilTestExportPlugin.php.
References $test.
ilTestExportPlugin::setTimestmap | ( | $timestmap | ) |
int | $timestmap |
Definition at line 72 of file class.ilTestExportPlugin.php.
References $timestmap.
|
staticprotected |
Definition at line 40 of file class.ilTestExportPlugin.php.
|
protected |
Definition at line 30 of file class.ilTestExportPlugin.php.
|
protected |
Definition at line 35 of file class.ilTestExportPlugin.php.
Referenced by getTimestmap(), and setTimestmap().