Sven Slootweg
|
7cdb3507af
|
Change ID handling, in preparation of UUID support
|
11 years ago |
Sven Slootweg
|
eaadadded0
|
Also use PDO parameterization for the row ID in UPDATE queries
|
11 years ago |
Sven Slootweg
|
138bf9949e
|
Update some comments and deprecation info
|
11 years ago |
Sven Slootweg
|
6822c353c3
|
Add a 'forced' option to InsertIntoDatabase, to pre-fill all data instead of lazy-loading
|
11 years ago |
Sven Slootweg
|
ce13fa4f29
|
Proper error reporting for database queries
|
11 years ago |
Sven Slootweg
|
6bfe6ccb4d
|
Allow omission of the '0' when creating a blank object from a CPHP class.
|
11 years ago |
Sven Slootweg
|
68964d3022
|
Properly include database query error messages
|
12 years ago |
Sven Slootweg
|
bfadf150b4
|
Fix insertion of simplehtml, html, and nl2br data types
|
12 years ago |
Sven Slootweg
|
113404d563
|
Remove old mysql_ cache purging code, fix type inconsistency bug in cache purging, and fix a bug in the debugger (oh, the irony)
|
12 years ago |
Sven Slootweg
|
3fbfad8656
|
Bypass cache on data reload, and fix a bug where a difference between column name and variable name would cause the clearing of old data in an object to fail
|
12 years ago |
Sven Slootweg
|
4aa82d0a86
|
Remove all mysql_ functionality and make insertion/updating use PDO instead.
|
12 years ago |
Sven Slootweg
|
da6ed16c34
|
Add TODO
|
12 years ago |
Sven Slootweg
|
5729adac81
|
Add todo item
|
12 years ago |
Sven Slootweg
|
85371b3394
|
Support NULL values for non-string database fields
|
12 years ago |
Sven Slootweg
|
249284e488
|
Always return an array from CreateFromQuery unless specifically the first result is requested
|
12 years ago |
Sven Slootweg
|
9aac04d33e
|
Make the CreateFromQuery function return an array of results or one result if explicitly defined
|
12 years ago |
Sven Slootweg
|
55de2ba21c
|
Actually use the current class instead of the base class
|
12 years ago |
Sven Slootweg
|
ee8c40ebe1
|
Add function to spawn a new object from a custom query
|
12 years ago |
Sven Slootweg
|
c62d6a9cec
|
Deprecate the Export function
|
12 years ago |
Sven Slootweg
|
18cd2f8066
|
Fix some PDO implementation stuff
|
12 years ago |
Sven Slootweg
|
c59aad3be6
|
Fix horribly broken implementation of the PDO mysql_ abstraction - this REALLY needs to be done properly.
|
12 years ago |
Sven Slootweg
|
98f2145938
|
Fix a bug that would make database insertion break when using PDO
|
12 years ago |
Sven Slootweg
|
abb0712c97
|
Add no-expiry option to cached query functions, and fix cache invalidation bug
|
12 years ago |
Sven Slootweg
|
4385243b9c
|
Remove old config files, implement PDO shim, and implement better time handling
|
12 years ago |
Sven Slootweg
|
cc25349d30
|
Implement PDO in object retrieval
|
12 years ago |
Sven Slootweg
|
b3218ed1c3
|
Fix bug where class map in configuration is not recognized due to variable scope
|
12 years ago |
Sven Slootweg
|
52b6216054
|
Use a configuration parser instead of hardcoded configuration variables
|
12 years ago |
Sven Slootweg
|
8a46f5d630
|
Make database insertion play nice with autoloading.
|
12 years ago |
Sven Slootweg
|
4caf68e6ff
|
Properly refresh data when using autoloading by unsetting all internal variables.
|
12 years ago |
Sven Slootweg
|
d3c970a551
|
Implement autoloading
|
12 years ago |
Sven Slootweg
|
a8937630e3
|
Set proper default for 'none' field type
|
12 years ago |
Sven Slootweg
|
c0a40b2bd4
|
Set proper defaults for html and nl2br field types
|
12 years ago |
Sven Slootweg
|
bc68bf8969
|
We shouldn't be pretty_dump()ing the query in production code
|
12 years ago |
Sven Slootweg
|
a1efe9b400
|
Throw an exception when the class prototype does not match the database schema.
|
12 years ago |
Sven Slootweg
|
ca9808f9e2
|
Also default to null when no defaultable array is specified, for the ConstructDataset function
|
12 years ago |
Sven Slootweg
|
bd3db37ea5
|
Set a property to its default value if the field is defaultable and the referenced object cannot be found in the database.
|
12 years ago |
Sven Slootweg
|
d27086aca7
|
Only check the defaultable array if it is, in fact, an array.
|
12 years ago |
Sven Slootweg
|
56b741bbee
|
If we don't define unsafe default values, database insertion will probably break.
|
12 years ago |
Sven Slootweg
|
7b625f6965
|
Only throw a NotFoundException during recursive retrieval if the problematic field is not defaultable
|
12 years ago |
Sven Slootweg
|
641a5fe43e
|
Remove ownership checks - this belongs in application code, not in a framework.
|
12 years ago |
Sven Slootweg
|
8b437c6a4b
|
Include the field on which retrieval from database failed when throwing a NotFoundException in a recursive retrieval.
|
12 years ago |
Sven Slootweg
|
b87ee4671b
|
Set default values for blank objects
|
12 years ago |
Sven Slootweg
|
63702fc9db
|
Removed obsolete type
|
13 years ago |
Sven Slootweg
|
9254b0594b
|
Merged back CPHP updates from CVM and Anontune
|
13 years ago |
Sven Slootweg
|
ede5d9f3fe
|
Initial commit
|
13 years ago |