[php] / trunk / DB_DataContainer / DataContainer.php Repository:
ViewVC logotype

Log of /trunk/DB_DataContainer/DataContainer.php

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 124 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 14 11:28:52 2007 UTC (3 years, 3 months ago) by tuupola
File length: 18081 byte(s)
Diff to previous 122
Move DB_DataContainer to trunk.

Revision 122 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 14 11:26:11 2007 UTC (3 years, 3 months ago) by tuupola
Original Path: DB_DataContainer/DataContainer.php
File length: 18081 byte(s)
Diff to previous 119
Rename directory.

Revision 119 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 5 13:02:23 2005 UTC (4 years, 9 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 18081 byte(s)
Diff to previous 110
* make sure getObjects() works with protected and private members in PHP5

Revision 110 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 18:33:17 2004 UTC (5 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17807 byte(s)
Diff to previous 109
* fix for PHP5 case sensitivity problems
# check how this willa affect BC

Revision 109 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 18:08:45 2004 UTC (5 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17805 byte(s)
Diff to previous 107
* attempt to have forward / backward compatible __call()
# idea originally take from Alan Knowles' DB_DataObject

Revision 107 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 07:55:13 2004 UTC (5 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17722 byte(s)
Diff to previous 106
* make __call PHP5 and PHP4 compatible.

Revision 106 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 6 21:53:44 2004 UTC (5 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17759 byte(s)
Diff to previous 99
* PHP5 fixes (toni.viemero at iki.fi)

Revision 99 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 27 19:40:45 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17650 byte(s)
Diff to previous 93
* behaviour of ::getObjects() now matches load()

Revision 93 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 27 17:15:17 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 17172 byte(s)
Diff to previous 92
* when doing a load() do a SELECT x,y,z instead of SELECT * this makes
  it possible to have extra columns in database table

Revision 92 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 21 11:18:20 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 16680 byte(s)
Diff to previous 88
* BUGFIX: load() returned an array insted of true on successfull load

Revision 88 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 10 18:31:04 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 16588 byte(s)
Diff to previous 86
* overload by default if working overload extension available (ge 4.3.2-RC2)

Revision 86 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 10 18:09:11 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 16369 byte(s)
Diff to previous 85
* tablename defaults to classname if not provided in $params['table']

Revision 85 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 10 18:03:34 2004 UTC (6 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 16192 byte(s)
Diff to previous 81
* ws

Revision 81 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 28 12:00:21 2004 UTC (6 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 16160 byte(s)
Diff to previous 78
* 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.

Revision 78 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 29 12:48:33 2004 UTC (6 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 15021 byte(s)
Diff to previous 77
* E_ALL fixes

Revision 77 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 29 12:45:31 2004 UTC (6 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14943 byte(s)
Diff to previous 72
* temporary fix for mixed cAsE problems

Revision 72 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 14 14:22:23 2003 UTC (6 years, 10 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14822 byte(s)
Diff to previous 65
* hardcoded queries were silently ignored (bug noticed by
  Pierfrancesco Marsiaj <piero@marsiaj.it>)

Revision 65 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 8 13:56:58 2003 UTC (6 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14807 byte(s)
Diff to previous 58
* phpdoc

Revision 58 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 3 10:30:10 2003 UTC (7 years ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14662 byte(s)
Diff to previous 53
* enable giving shortcut for giving $id as integer if it
  is the only parameter: $o = new DB_DataContainer($dbh, 2);

Revision 53 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 23 14:17:06 2003 UTC (7 years, 2 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14539 byte(s)
Diff to previous 47
* fix LIMIT problems with mssql

Revision 47 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 5 13:49:30 2003 UTC (7 years, 3 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14508 byte(s)
Diff to previous 44
* E_ALL fixes

Revision 44 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 2 13:12:34 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14484 byte(s)
Diff to previous 43
* More intelligent way of handling accessor method overloading

Revision 43 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 29 11:36:57 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 15867 byte(s)
Diff to previous 42
* require 4.3.2-RC2

Revision 42 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 16:15:33 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 15867 byte(s)
Diff to previous 40
* fix phpdoc

Revision 40 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 14:48:53 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 15867 byte(s)
Diff to previous 39
* avoid namespace clashes
* add phpdoc

Revision 39 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 14:08:15 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14870 byte(s)
Diff to previous 38
* fix version check
* remove forgotten debug code

Revision 38 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 14:01:54 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 14920 byte(s)
Diff to previous 37
* added generateMethods() static method for generating accessor methods
  runtime

Revision 37 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 25 11:50:21 2003 UTC (7 years, 4 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13590 byte(s)
Diff to previous 36
* comments

Revision 36 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 3 12:22:31 2003 UTC (7 years, 5 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13525 byte(s)
Diff to previous 33
* Comments and whitespace

Revision 33 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 2 09:05:33 2003 UTC (7 years, 5 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13503 byte(s)
Diff to previous 32
* getObjects() now honors $params[strict]

Revision 32 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 1 15:22:44 2003 UTC (7 years, 5 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13446 byte(s)
Diff to previous 31
* use DB::autoExecute() instead of building the query by self.

Revision 31 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 1 13:09:05 2003 UTC (7 years, 5 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13622 byte(s)
Diff to previous 30
* setProperties() was allways calling accessor methods even when
  strict == false

Revision 30 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 14 12:51:40 2003 UTC (7 years, 5 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13668 byte(s)
Diff to previous 27
* $params['stritct] was allways evaluated true in constructor

Revision 27 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 26 16:48:45 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 13661 byte(s)
Diff to previous 26
* phpdoc

Revision 26 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 26 15:57:41 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 12446 byte(s)
Diff to previous 25
* change error message on load()
* $params[limit] can now take both from and count parameters
* user DB::$modifyLimitQuery() for constructing portable queries.

Revision 25 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 26 15:17:36 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 11732 byte(s)
Diff to previous 24
* added setDbh() method
* style changes

Revision 24 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 26 15:13:31 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 11485 byte(s)
Diff to previous 23
* give strict in $params[] array

Revision 23 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 23:26:11 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 11164 byte(s)
Diff to previous 22
* cosmetic changes

Revision 22 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 16:40:53 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 11050 byte(s)
Diff to previous 21
* whitespace and comments

Revision 21 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 16:26:17 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 10978 byte(s)
Diff to previous 20
* intelligent way of ignoring parent properties when calling save()

Revision 20 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 16:19:12 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 10950 byte(s)
Diff to previous 19
* licence

Revision 19 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 16:16:53 2003 UTC (7 years, 6 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 10460 byte(s)
Diff to previous 18
* include values in UPDATE / INSERT query only if property has a value

Revision 18 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 28 17:27:36 2003 UTC (7 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 10417 byte(s)
Diff to previous 17
* fix license

Revision 17 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 28 17:20:45 2003 UTC (7 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 10416 byte(s)
Diff to previous 16
* license change

Revision 16 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 28 17:16:16 2003 UTC (7 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 9580 byte(s)
Diff to previous 15
* introduce $strict parameter in setProperties()

Revision 15 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 28 16:36:49 2003 UTC (7 years, 7 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 9181 byte(s)
Diff to previous 14
* make getObjects() more elegant

Revision 14 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 21 10:06:04 2002 UTC (7 years, 9 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 9882 byte(s)
Diff to previous 13
* License change

Revision 13 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 21 09:54:17 2002 UTC (7 years, 9 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 9274 byte(s)
Diff to previous 12
* E_ALL fixes
* more intelligent "autoloading"

Revision 12 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 31 14:54:29 2002 UTC (7 years, 10 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 7955 byte(s)
Diff to previous 11
* added setTable(), setId() and setKey() methods
* setProperties() and forces usage of setXxx() methods

Revision 11 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 23 11:33:26 2002 UTC (7 years, 10 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 7532 byte(s)
Diff to previous 10
* Testing after moving direcotries in CVS

Revision 10 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 23 11:29:34 2002 UTC (7 years, 10 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 7529 byte(s)
Diff to previous 9
* added setProperties() method
* renaming to DB_DataContainer

Revision 9 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 22 10:13:42 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 7392 byte(s)
Diff to previous 8
* added ORDER BY and autoload support for getObjects()

Revision 8 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 20 14:24:38 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6682 byte(s)
Diff to previous 7
* load() returns PEAR_Error on failure

Revision 7 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 22:14:29 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6561 byte(s)
Diff to previous 6
* reverting

Revision 6 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 21:57:39 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6554 byte(s)
Diff to previous 5
* changing constructor method to create() so we can safely return
  instance of itself or PEAR_Error

Revision 5 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 19:25:04 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6562 byte(s)
Diff to previous 4
* update phpdoc

Revision 4 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 10:01:20 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6519 byte(s)
Diff to previous 3
* WHERE queries were misformed

Revision 3 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 16 14:08:10 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6518 byte(s)
Diff to previous 2
* fix warnings when constructor with non-default key fails
* dont try to save key

Revision 2 - (view) (download) (annotate) - [select for diffs]
Added Mon Sep 16 10:06:44 2002 UTC (7 years, 11 months ago) by tuupola
Original Path: trunk/DataContainer.php
File length: 6421 byte(s)
* 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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Mika Tuupola
ViewVC Help
Powered by ViewVC 1.1-dev