Prototype:
(false|string) public function
onDomusImportShowform($engine)
Synopsis: Displays the form with import options
Sample plugin: plugins/domusimport/standard/standard.php
This event is fired after the user chose the import plugin to use and Domus Organizer is now displaying import options; it's up to the plugin to create the valid HTML.
The values of the input fields will be available in the event onDomusImportRestore (see below).
![]() | Check the engine name! |
---|---|
Since there could be several plugins enabled, you have to check if the user truly chose your plugin! Before doing anything, check if you should handle the event: // The request engine is different from the plugin one? Let's ignore this event if($engine != $this->name) { return false; } |