Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1631 4032 d 4 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 4045 d 0 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 4061 d 2 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 4457 d 1 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 4592 d 0 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 4639 d 1 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 4674 d 0 h aurelien /trunk/jrest/services/ correction d'un bug de pagination  
/trunk/jrest/services/InventoryObservationList.php
925 4690 d 22 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 4827 d 23 h aurelien /trunk/jrest/services/ Ajout d'un type mime application/json  
/trunk/jrest/services/InventoryObservationList.php
605 4901 d 0 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 5013 d 1 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