Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature "Additional Data for Page Editor Plugins" #612

Merged
merged 1 commit into from
Aug 24, 2017

Conversation

fneumann
Copy link
Contributor

See https://www.iias.de/docu/goto_docu_wiki_wpage_4731_1357.html

Page component plugins can now maintain their own database tables or object like files etc. They may store the ids of additional data and object in the properties of their page content. To support this, they must:

  • overwrite the onClone() and onDelete() methods of their base class
  • set the $supports_export= true in their plugin.php (like repository object plugins)
  • implement an il<plugin_name>Exporter class as child of ilPageComponentPluginExporter
  • implement an il<plugin_name>Importer class as child of ilPageComponentPluginImporter

A Test plugin demonstrating this can be found here:
https://github.com/fneumann/TestPageComponent

@alex40724 alex40724 merged commit f026aac into ILIAS-eLearning:trunk Aug 24, 2017
@alex40724
Copy link
Member

Looks ok to me, I will make some deeper analysis in the next days.

@fneumann fneumann deleted the pull53-cop-additional branch May 13, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants