Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
Move DB_DataContainer to trunk.
Rename directory.
* make sure getObjects() works with protected and private members in PHP5
* fix for PHP5 case sensitivity problems # check how this willa affect BC
* attempt to have forward / backward compatible __call() # idea originally take from Alan Knowles' DB_DataObject
* make __call PHP5 and PHP4 compatible.
* PHP5 fixes (toni.viemero at iki.fi)
* behaviour of ::getObjects() now matches load()
* when doing a load() do a SELECT x,y,z instead of SELECT * this makes it possible to have extra columns in database table
* BUGFIX: load() returned an array insted of true on successfull load
* overload by default if working overload extension available (ge 4.3.2-RC2)
* tablename defaults to classname if not provided in $params['table']
* ws
* load() now users DB:getAll() instead of looping with fetchRow() * New load() error message: No data found for key %s with value %s * New load() error message: %d matches found. Using first match.
* E_ALL fixes
* temporary fix for mixed cAsE problems
* hardcoded queries were silently ignored (bug noticed by Pierfrancesco Marsiaj <piero@marsiaj.it>)
* phpdoc
* enable giving shortcut for giving $id as integer if it is the only parameter: $o = new DB_DataContainer($dbh, 2);
* fix LIMIT problems with mssql
* E_ALL fixes
* More intelligent way of handling accessor method overloading
* require 4.3.2-RC2
* fix phpdoc
* avoid namespace clashes * add phpdoc
* fix version check * remove forgotten debug code
* added generateMethods() static method for generating accessor methods runtime
* comments
* Comments and whitespace
* getObjects() now honors $params[strict]
* use DB::autoExecute() instead of building the query by self.
* setProperties() was allways calling accessor methods even when strict == false
* $params['stritct] was allways evaluated true in constructor
* phpdoc
* change error message on load() * $params[limit] can now take both from and count parameters * user DB::$modifyLimitQuery() for constructing portable queries.
* added setDbh() method * style changes
* give strict in $params[] array
* cosmetic changes
* whitespace and comments
* intelligent way of ignoring parent properties when calling save()
* licence
* include values in UPDATE / INSERT query only if property has a value
* fix license
* license change
* introduce $strict parameter in setProperties()
* make getObjects() more elegant
* License change
* E_ALL fixes * more intelligent "autoloading"
* added setTable(), setId() and setKey() methods * setProperties() and forces usage of setXxx() methods
* Testing after moving direcotries in CVS
* added setProperties() method * renaming to DB_DataContainer
* added ORDER BY and autoload support for getObjects()
* load() returns PEAR_Error on failure
* reverting
* changing constructor method to create() so we can safely return instance of itself or PEAR_Error
* update phpdoc
* WHERE queries were misformed
* fix warnings when constructor with non-default key fails * dont try to save key
* Initial commit
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| Mika Tuupola | ViewVC Help |
| Powered by ViewVC 1.1-dev |