Subversion Repositories eFlore/Applications.cel

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3857 1067 d 14 h delphine /branches/v3.01-serpe/ Changement de la carto du widget de saisie passage du module angular à leaflet + améliorations  
/branches/v3.01-serpe
2538 3469 d 9 h aurelien /trunk/jrest/ Ajout de la gestion du champ pays  
/trunk/jrest/bibliotheque/RechercheInfosZoneGeo.php
/trunk/jrest/bibliotheque/FormateurGroupeColonne.php
/trunk/jrest/bibliotheque/GestionObservation.php
/trunk/jrest/bibliotheque/RechercheObservation.php
/trunk/jrest/jrest.ini.php.defaut
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/InventoryObservationList.php
2492 3516 d 9 h aurelien /trunk/jrest/services/ Dépublication des images sur suppression de l'observation associée (fusion dans le tronc)  
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryObservationList.php
2458 3523 d 6 h jpm /trunk/jrest/services/ Mise en forme et ajout des entêtes.  
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryCheck.php
/trunk/jrest/services/TestNameParser.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/ImageProvider.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryContributionList.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImageListPublic.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryImportMail.php
/trunk/jrest/services/InventoryKeyWordImageLink.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryKeywordTree.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/NomsChampsEtendus.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
1915 3845 d 7 h raphael /trunk/jrest/services/ mise à jour multiples: fix de l'update lorsque l'ordre n°0 est concerné  
/trunk/jrest/services/InventoryObservationList.php
1908 3845 d 8 h raphael /trunk/jrest/ mise à jour multiples: pas de mises à jour des "nom_sel" et "référentiels" (et champs autogénérés associés)
lorsque la mise à jour concerne plusieurs observations.
(cela évite des réinitialisation de nom_sel intempestives).

D'autre part un test supplémentaire du côté du backend est effectué pour éviter l'UPDATE
de champs avec "(Valeurs multiples)".
 
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/services/InventoryObservationList.php
1631 3978 d 13 h raphael /trunk/jrest/ Cel/API: RechercheObservation->rechercherObservations() ne n'exécute plus d'emblée
la requête générée et par conséquent ne retourne pas ses résultats,
à l'exception de l'objet ($this) dont l'attribut public $requete_selection_observations
est initialisé.

La méthode get(), elle, exécute la requête et retourne les données résultantes.
Et puisque rechercherObservations() retourne l'objet, il est donc possible d'enchaîner les deux
appels en utilisant désormais la syntaxe RechercheObservation->rechercherObservations()->get().

Cela permet de découpler la génération de la requête de son exécution et donc possiblement
de manipuler la requête en plusieurs temps.
Cela pourrait s'avérer utile dans les cas où le script traitant les données souhaiterait s'architecturer
sous la forme d'un flux au fil de la récupération des enregistrements en BDD plutôt que de
compter sur l'exécution intégrale de la requête et d'attendre le retour exhaustif des données.
 
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelObs.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryObservationList.php
1598 3991 d 8 h raphael /trunk/jrest/ fix des "Call-time pass-by-reference" (notation supprimée en PHP-5.4)

Recherche basique des occurences:
$ find . -iname '*.php' -exec grep -iE "(\(&)|( &[a-z])" {} \;|grep -v 'function'
 
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryObservationList.php
1571 4007 d 10 h aurelien /trunk/jrest/services/ Modification des services pour s'adapter aux nouveaux formats des champs étendus  
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryObservationList.php
1297 4403 d 9 h aurelien /trunk/jrest/services/ Les criteres de recherche passent désormais dans le get  
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
1014 4538 d 9 h aurelien /trunk/jrest/services/ Petites optimisation de code + réparation mots clés  
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
996 4585 d 9 h aurelien /trunk/jrest/ Mise à jour fonctions depréciées  
/trunk/jrest/lib/ExcelReader/excel_reader2.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Parser.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Worksheet.php
/trunk/jrest/services/Cel.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageExport.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryImportExcel.php
/trunk/jrest/services/InventoryKeyWordImageLink.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryMaintenance.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
966 4620 d 9 h aurelien /trunk/jrest/services/ correction d'un bug de pagination  
/trunk/jrest/services/InventoryObservationList.php
925 4637 d 7 h aurelien /trunk/jrest/services/ Mise aux nouveau format de bdd de la classe InventoryObservationList (quelques test à effectuer pour etre sur que tout fonctionne)  
/trunk/jrest/services/InventoryObservationList.php
665 4774 d 8 h aurelien /trunk/jrest/services/ Ajout d'un type mime application/json  
/trunk/jrest/services/InventoryObservationList.php
605 4847 d 9 h aurelien /trunk/jrest/services/ Mise à jour des derniers services jrest  
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/ImageRecreation.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImageListPublic.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/User.php
416 4959 d 9 h aurelien /trunk/jrest/ Import des services jrest dans le dossier du carnet en ligne  
/trunk/jrest
/trunk/jrest/services
/trunk/jrest/services/.directory
/trunk/jrest/services/Cel.php
/trunk/jrest/services/CelDao.php
/trunk/jrest/services/CelImageDoublon.php
/trunk/jrest/services/CelStatistique.php
/trunk/jrest/services/CelSyndicationImage.php
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/CodeAsync.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/ImageRss.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryCheck.php
/trunk/jrest/services/InventoryContributionList.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageExport.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryItemList.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryMaintenance.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryStationList.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/PlantNetRss.php
/trunk/jrest/services/PlantNetRssParEspece.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/User.php
/trunk/jrest/services/UserOpenId.php
/trunk/jrest/services/export
/trunk/jrest/services/export/.directory
/trunk/jrest/services/include
/trunk/jrest/services/include/.directory
/trunk/jrest/services/include/extract_metadonnee.php
/trunk/jrest/services/include/stockage_fichier.php
/trunk/jrest/services/squelettes
/trunk/jrest/services/squelettes/.directory
/trunk/jrest/services/squelettes/atom.tpl.xml
/trunk/jrest/services/squelettes/carte_defaut.tpl.html
/trunk/jrest/services/squelettes/doublon_defaut.tpl.html
/trunk/jrest/services/squelettes/markerclusterer_compiled.js
/trunk/jrest/services/squelettes/opml.tpl.xml
/trunk/jrest/services/squelettes/rss1.tpl.xml
/trunk/jrest/services/squelettes/rss2.tpl.xml