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
1936 4004 d 19 h raphael /branches/v1.7-croissant/jrest/ merge: r1914 à r1935 de /jrest  
/branches/v1.7-croissant/jrest/php.ini
/branches/v1.7-croissant/jrest
/branches/v1.7-croissant/jrest/JRest.php
/branches/v1.7-croissant/jrest/lib/GestionObservation.php
/branches/v1.7-croissant/jrest/lib/RechercheInfosTaxonBeta.php
/branches/v1.7-croissant/jrest/services/ImportXLS.php
/branches/v1.7-croissant/jrest/services/InventoryObservationList.php
/branches/v1.7-croissant/jrest/tests/api.php
/branches/v1.7-croissant/jrest/tests/cmd-test.php
1914 4012 d 18 h raphael /branches/v1.7-croissant/ merge: réintégration du trunk/ dans v1.7-croissant  
/branches/v1.7-croissant/TODO
/branches/v1.7-croissant/build.properties
/branches/v1.7-croissant/jrest/services/CelWidgetUploadImageTemp.php
/branches/v1.7-croissant/jrest/services/squelettes/image_temp.tpl.xml
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-from-nom-ret.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-from-nom-ret.test.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-ref-badbdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-ref-badbdnffnn.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-nonum.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-nonum.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-num.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-num.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-nonum.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-nonum.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-num.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-num.test.php
/branches/v1.7-croissant/src/org/tela_botanica/cel-test.gwt.xml
/branches/v1.7-croissant/src/org/tela_botanica/public
/branches/v1.7-croissant/vendors
/branches/v1.7-croissant/vendors/PHPExcel
/branches/v1.7-croissant
/branches/v1.7-croissant/Changelog
/branches/v1.7-croissant/build.xml
/branches/v1.7-croissant/doc
/branches/v1.7-croissant/doc/bdd/cel_v2.sql
/branches/v1.7-croissant/doc/bdd/schema_bdd_cel_v2.mwb
/branches/v1.7-croissant/jrest/jrest.ini.php.defaut
/branches/v1.7-croissant/jrest/lib/Cel.php
/branches/v1.7-croissant/jrest/lib/GestionObservation.php
/branches/v1.7-croissant/jrest/lib/ImageRecreation.php
/branches/v1.7-croissant/jrest/lib/LiaisonMotsCles.php
/branches/v1.7-croissant/jrest/lib/RechercheInfosTaxonBeta.php
/branches/v1.7-croissant/jrest/services/CelImageDoublon.php
/branches/v1.7-croissant/jrest/services/CelValidationObservation.php
/branches/v1.7-croissant/jrest/services/CelWidgetMapPoint.php
/branches/v1.7-croissant/jrest/services/ImportXLS.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordImageLink.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordList.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordObsLink.php
/branches/v1.7-croissant/jrest/services/InventoryObservationList.php
/branches/v1.7-croissant/jrest/services/InventoryTransmit.php
/branches/v1.7-croissant/jrest/tests/api.php
/branches/v1.7-croissant/jrest/tests/cmd-test.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-badref-bdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-bdnffnt.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-noref-bdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/transmission.result.php
/branches/v1.7-croissant/src/org/tela_botanica/cel2.gwt.xml
/branches/v1.7-croissant/src/org/tela_botanica/client/vues/observation/FormulaireSaisieObservationVue.java
/branches/v1.7-croissant/war/config.defaut.js
/branches/v1.7-croissant/widget/modules/cartopoint/squelettes/carte_defaut.tpl.html
/branches/v1.7-croissant/widget/modules/photo/Photo.php
/branches/v1.7-croissant/widget/modules/photo/config.defaut.ini
/branches/v1.7-croissant/widget/modules/saisie
/branches/v1.7-croissant/widget/modules/saisie/Saisie.php
/branches/v1.7-croissant/widget/modules/saisie/squelettes/biodiversite34/js/biodiversite34.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/defaut/defaut.tpl.html
/branches/v1.7-croissant/widget/modules/saisie/squelettes/defaut/js/defaut.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/florileges/florileges.tpl.html
/branches/v1.7-croissant/widget/modules/saisie/squelettes/sauvages/js/sauvages.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/sauvages/sauvages.tpl.html
/branches/v1.7-croissant/widget/widget.ini.defaut.php
1840 4062 d 21 h raphael /branches/v1.7-croissant/ branche: création de la branche "v1.7-croissant"  
/branches/v1.7-croissant
1631 4146 d 0 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 4158 d 20 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 4174 d 22 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 4570 d 21 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 4705 d 21 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 4752 d 21 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 4787 d 21 h aurelien /trunk/jrest/services/ correction d'un bug de pagination  
/trunk/jrest/services/InventoryObservationList.php
925 4804 d 18 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 4941 d 19 h aurelien /trunk/jrest/services/ Ajout d'un type mime application/json  
/trunk/jrest/services/InventoryObservationList.php
605 5014 d 20 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 5126 d 21 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