From d75edc2c40c9f59dbb8bf26824df3b0c4da002d5 Mon Sep 17 00:00:00 2001 From: tofulm Date: Thu, 9 Mar 2023 17:14:19 +0100 Subject: [PATCH] maj creation objet --- UltiSnips/php.snippets | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/UltiSnips/php.snippets b/UltiSnips/php.snippets index fba6718..09f9b65 100755 --- a/UltiSnips/php.snippets +++ b/UltiSnips/php.snippets @@ -27,6 +27,21 @@ $tables['spip_$1s'] = [ 'rechercher_champs' => [], 'join' => [], 'tables_jointures' => [], + 'statut' => [ + [ + 'champ' => 'statut', + 'publie' => 'publie', + 'previsu' => '!', + 'exception' => ['statut', 'tout' ] + ] + ], + 'statut_textes_instituer' => [ + 'prepa' => 'texte_statut_en_cours_redaction', + 'prop' => 'texte_statut_propose_evaluation', + 'publie' => 'texte_statut_publie', + 'refuse' => 'texte_statut_refuse', + 'poubelle' => 'texte_statut_poubelle' + ], ]; endsnippet