Changeset 96819 in spip-zone
- Timestamp:
- Apr 26, 2016, 8:01:20 PM (5 years ago)
- Location:
- _plugins_/svp_api/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/svp_api/trunk/inc/svpapi_requete.php
r96818 r96819 5 5 6 6 /** 7 * Détermine si la valeur du crtière compatibilité SPIPest valide.8 * La fonction compare uniquement la structure de la chaine passée qui doit être un numéro de version ou de branche.7 * Détermine si la valeur du format de sortie est valide. 8 * Seul le format JSON est accepté. 9 9 * 10 10 * @param string $valeur 11 * La valeur du critère compatibilite SPIP11 * La valeur du format de sortie 12 12 * @param array $erreur 13 13 * … … 18 18 $format_valide = true; 19 19 20 if (!in_array($valeur, array('json' , 'xml'))) {20 if (!in_array($valeur, array('json'))) { 21 21 $erreur = array( 22 22 'status' => 400, -
_plugins_/svp_api/trunk/paquet.xml
r96818 r96819 2 2 prefix="svpapi" 3 3 categorie="outil" 4 version="0.2. 0"4 version="0.2.1" 5 5 etat="test" 6 6 compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset
for help on using the changeset viewer.