Skip to content
Commits on Aug 21, 2011
Commits on Dec 3, 2010
  1. Strings that consist of only the character 0 are not considered empty.

    Ray Hernandez committed
    Applications on our site typically will have a string that is just "0".
    phpDataMapper would typically munge this to a NULL value and insert that
    into the database instead. This is due to the fact that the PHP function
    empty() considers the string '0' to be an empty value.
    
    I added a test to public function isEmpty in class phpDataMapper_Base in
    the Base.php file. This will allow string values that contain the "0"
    character to be considered not empty.
    
    All tests passed.
Commits on Aug 4, 2010
  1. @vlucas

    Entity: Updated 'toJson' method to use correct data() method instead …

    vlucas committed
    …of non-existent 'getData' method.
Commits on May 4, 2010
  1. @vlucas
  2. @vlucas
Commits on Apr 15, 2010
  1. @vlucas
Commits on Apr 5, 2010
  1. @vlucas
Commits on Mar 31, 2010
  1. @vlucas

    Adapter > PDO Base: Updated 'statementConditions' function to work wi…

    vlucas committed
    …th simple array passed from mapper 'delete' function
Commits on Mar 24, 2010
  1. @vlucas

    Adapter: PDO Base adapter: removed third parameter from 'setFetchMode…

    vlucas committed
    …' call in 'toCollection' function - it was causing random crashes in IIS7/Win Server 2008
Commits on Mar 18, 2010
  1. @vlucas

    Base Relation: Added missing variable declration that was causing 'Ha…

    vlucas committed
    …sOne' relations to not work (got caught in __get magic function)
Commits on Mar 17, 2010
  1. @vlucas
  2. @vlucas
Commits on Mar 12, 2010
  1. @vlucas

    Tests: Fixed relations tests and did some initial setup for an idea o…

    vlucas committed
    …n HasMany:through relations
Commits on Mar 7, 2010
  1. @vlucas
  2. @vlucas

    Pager / Query: Updated Pager to work well with larger sets, changed A…

    vlucas committed
    …PI to match simple one-word functions like the rest of the project
  3. @vlucas
  4. @vlucas
Commits on Mar 6, 2010
  1. @vlucas
  2. @vlucas
  3. @vlucas
  4. @vlucas

    Adapter: Updated tableExists check in migrate() to ensure proper sour…

    vlucas committed
    …ce database is used for check
Commits on Feb 23, 2010
  1. @vlucas

    Base: Updated error functions to include field name as key, corrected…

    vlucas committed
    … issue in PDO adapter for conditions manually passed to statementConditions() without going throguh Query object
  2. @pnomolos
  3. @vlucas

    Tests: Relations tests looking for wrong return type. Should be insta…

    vlucas committed
    …nce of phpDataMapper_Relation
  4. @pnomolos
  5. @pnomolos
  6. @pnomolos
  7. @pnomolos
  8. @pnomolos
  9. @vlucas
Commits on Feb 22, 2010
  1. @pnomolos

    Formatting fix.

    pnomolos committed
  2. @pnomolos

    Need to remove limit clause before doing 'count'. Right now it's in P…

    pnomolos committed
    …ager but should probably be moved to the main Query class.
Something went wrong with that request. Please try again.