"domusimport" plugin events

This plugin will allow you to import data from a previous data source inside Domus Organizer; it's a standard Joomla plugin, so the manifest file will be something like this:

Example 5.2. Example of manifest file for "domusimport" plugin

<?xml version="1.0" encoding="iso-8859-1"?>
<extension type="plugin" group="domusimport" version="1.6" method="upgrade">
  <name>Domus Organizer Imports - Standard</name>
  <author>Davide Tampellini</author>
  <creationDate>2014-02-16</creationDate>
  <copyright>GNU GPL</copyright>
  <license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
  <authorUrl>www.fabbricabinaria.it</authorUrl>
  <version>1.0.0</version>
  <description>Standard data import: CSV or TAB delimited file</description>

  <files>
    <folder>assets</folder>
    <filename plugin="standard">standard.php</filename>
    <filename>index.html</filename>
  </files>

  <languages folder="language">
    <language tag="en-GB">en-GB/en-GB.plg_domusimport_standard.ini</language>
  </languages>
</extension>

onDomusImportGetName

Prototype: (array) public function onDomusImportGetName()

Synopsis: Returns the name of the import plugin

Sample plugin: plugins/domusimport/standard/standard.php

This event is fired when Domus Organizer looks for all the available import plugins, in order to display them to the user. In this way he can choose the one that suits the data he's going to import.

The return value must be an array, where the key is the internal name of the plugin and the value is the user friendly name:

return array('standard' => 'Standard import');