[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / organiseur / organiseur_ieconfig.php
index 88f93a4..d6db886 100644 (file)
@@ -1,13 +1,29 @@
-<?php\r
-\r
-if (!defined("_ECRIRE_INC_VERSION")) return;\r
-\r
-function organiseur_ieconfig_metas($table){\r
-       $table['organiseur']['titre'] = _T('titre_messagerie_agenda');\r
-       $table['organiseur']['icone'] = 'messagerie-16.png';\r
-       $table['organiseur']['metas_brutes'] = 'messagerie_agenda';\r
-       \r
-       return $table;\r
-}\r
-\r
-?>
\ No newline at end of file
+<?php
+
+/**
+ * Déclarations des configurations qui peuvent être sauvegardées
+ *
+ * @package SPIP\Organiseur\Pipelines
+ **/
+
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
+
+/**
+ * Ajoute les metas sauvegardables d'Organiseur pour le plugin IEConfig
+ *
+ * @pipeline ieconfig_metas
+ *
+ * @param array $table
+ *     Déclaration des sauvegardes
+ * @return array
+ *     Déclaration des sauvegardes complétées
+ **/
+function organiseur_ieconfig_metas($table) {
+       $table['organiseur']['titre'] = _T('titre_messagerie_agenda');
+       $table['organiseur']['icone'] = 'messagerie-16.png';
+       $table['organiseur']['metas_brutes'] = 'messagerie_agenda';
+
+       return $table;
+}