Switch branches/tags
Nothing to show
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
    Ray Hernandez committed Dec 3, 2010
    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. Entity: Updated 'toJson' method to use correct data() method instead …

    vlucas committed Aug 4, 2010
    …of non-existent 'getData' method.
Commits on May 4, 2010
Commits on Apr 15, 2010
Commits on Apr 5, 2010
Commits on Mar 31, 2010
  1. Adapter > PDO Base: Updated 'statementConditions' function to work wi…

    vlucas committed Mar 31, 2010
    …th simple array passed from mapper 'delete' function
Commits on Mar 24, 2010
  1. Adapter: PDO Base adapter: removed third parameter from 'setFetchMode…

    vlucas committed Mar 24, 2010
    …' call in 'toCollection' function - it was causing random crashes in IIS7/Win Server 2008
Commits on Mar 18, 2010
  1. Base Relation: Added missing variable declration that was causing 'Ha…

    vlucas committed Mar 18, 2010
    …sOne' relations to not work (got caught in __get magic function)
Commits on Mar 17, 2010
Commits on Mar 12, 2010
  1. Tests: Fixed relations tests and did some initial setup for an idea o…

    vlucas committed Mar 12, 2010
    …n HasMany:through relations
Commits on Mar 7, 2010
  1. Base Mapper: Fixed issue with multiple conditions being set in 'where…

    vlucas committed Mar 7, 2010
    …' clause for relations
  2. Pager / Query: Updated Pager to work well with larger sets, changed A…

    vlucas committed Mar 7, 2010
    …PI to match simple one-word functions like the rest of the project
Commits on Mar 6, 2010
  1. Adapter: Updated tableExists check in migrate() to ensure proper sour…

    vlucas committed Mar 6, 2010
    …ce database is used for check
Commits on Feb 23, 2010
  1. Base: Updated error functions to include field name as key, corrected…

    vlucas committed Feb 23, 2010
    … issue in PDO adapter for conditions manually passed to statementConditions() without going throguh Query object
  2. Tests: Relations tests looking for wrong return type. Should be insta…

    vlucas committed Feb 23, 2010
    …nce of phpDataMapper_Relation
  3. Query: Added first() convenince method to return the first matched en…

    vlucas committed Feb 23, 2010
    …tity from given query
Commits on Feb 22, 2010
  1. Formatting fix.

    pnomolos committed Feb 22, 2010
  2. Need to remove limit clause before doing 'count'. Right now it's in P…

    pnomolos committed Feb 22, 2010
    …ager but should probably be moved to the main Query class.