Skip to content
  • Fokkema's avatar
    Implemented PDO connect and query interface, added custom viewList, lots of other changes: · da0ea220
    Fokkema authored
    - Implemented a PDO database connection and a PDO class overloading PDO's query methods to catch errors the LOVD way.
    - Implemented a custom viewList class, allowing easy implementation of flexible viewLists with several different data objects linked to each other.
    - objects::viewList() will no longer try and predict the column types first, it will first read out the suggested type and if none, query the database to find out the column type.
    - Added chromosome to genomic variant viewList.
    - Updated INSTALL.txt.
    - Fixed bug; Added XSS fix to lovd_displayError().
    - Moved lovd_getColumnData(), lovd_getColumnLength() and lovd_getColumnType() from inc-lib-form.php to inc-lib-init.php, since it is used by all viewLists() also.
    - Fixed bug; MySQL handles 01 very different than '01' for VARCHAR columns, so lovd_queryDB() will now always quote integers.
    - Added STATUS_IN_PROGRESS and STATUS_PENDING for unfinished submissions and completed, non reviewed submissions.
    - Reviewed r81, added some FIXME's, and applied many optimizations and minor fixes.
    - Standardized database variable usage in class/object_individuals.php.
    - Fixed bug; Could no longer select a disease to link to a gene of interest.
    - Implemented the /variants/chr# URL showing a viewList of all genomic variants on a specific chromosome.
    
    
    git-svn-id: https://humgenprojects.lumc.nl/svn/LOVD3/trunk@84 a7477d18-a37e-46de-aef1-57953c184492
    da0ea220