Changeset 96872 in spip-zone
- Timestamp:
- Apr 29, 2016, 7:30:07 PM (5 years ago)
- Location:
- _plugins_/svp_api/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/svp_api/trunk/inc/svpapi_reponse.php
r96871 r96872 22 22 define('_SVPAPI_CHAMPS_VERSION_PLUGIN', 'vmax'); 23 23 } 24 if (!defined('_SVPAPI_CHAMPS_LISTE_PLUGIN')) { 25 /** 26 * 27 */ 28 define('_SVPAPI_CHAMPS_LISTE_PLUGIN', 'branches_spip'); 29 } 24 30 25 31 if (!defined('_SVPAPI_CHAMPS_MULTI_PAQUET')) { … … 40 46 */ 41 47 define('_SVPAPI_CHAMPS_VERSION_PAQUET', 'version, version_base'); 48 } 49 if (!defined('_SVPAPI_CHAMPS_LISTE_PAQUET')) { 50 /** 51 * 52 */ 53 define('_SVPAPI_CHAMPS_LISTE_PAQUET', 'branches_spip'); 42 54 } 43 55 … … 158 170 $champs_serialises = explode(',', constant('_SVPAPI_CHAMPS_SERIALISES_' . strtoupper($type_objet))); 159 171 $champs_version = explode(',', constant('_SVPAPI_CHAMPS_VERSION_' . strtoupper($type_objet))); 172 $champs_liste = explode(',', constant('_SVPAPI_CHAMPS_LISTE_' . strtoupper($type_objet))); 160 173 161 174 if ($objet) { … … 174 187 $objet_normalise[$_champ] = denormaliser_version($_valeur); 175 188 } 189 190 if (in_array($_champ, $champs_liste)) { 191 $objet_normalise[$_champ] = explode(',', $_valeur); 192 } 176 193 } 177 194 } -
_plugins_/svp_api/trunk/paquet.xml
r96871 r96872 2 2 prefix="svpapi" 3 3 categorie="outil" 4 version="0.2. 3"4 version="0.2.4" 5 5 etat="test" 6 6 compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset
for help on using the changeset viewer.