Mikael Nordfeldth
|
59bbc81c4b
updateWithKeys did not always COMMIT transactions
|
9 years ago |
Mikael Nordfeldth
|
470971cf47
File_thumbnail uses file_id as PRI
|
9 years ago |
Mikael Nordfeldth
|
12058c30b4
Managed_DataObject->updateWithKeys throws its own exception
|
9 years ago |
Mikael Nordfeldth
|
998afe1844
updateWithKeys reworked to more reliable execution
|
9 years ago |
Mikael Nordfeldth
|
4917a422a1
updateKeys -> updateWithKeys (w/ functionality)
|
9 years ago |
Mikael Nordfeldth
|
e38d78eba9
updateKeys (for classes with PRI id) now in Managed_DataObject
|
9 years ago |
Mikael Nordfeldth
|
5127a83935
Add Managed_DataObject getID() to avoid $obj->id
|
10 years ago |
Mikael Nordfeldth
|
b903db059c
static:: call are less cluttery
|
11 years ago |
Mikael Nordfeldth
|
b0dfc70a54
Properly unlink all old avatars when deleting/uploading a new
|
11 years ago |
Mikael Nordfeldth
|
50e611a1a9
Shouldn't define static classes as abstract.
|
11 years ago |
Mikael Nordfeldth
|
39f21d63af
New Managed_DataObject retrieval: listFind
|
11 years ago |
Mikael Nordfeldth
|
79e3acf0f0
Moved multiGet into Managed_DataObject
|
11 years ago |
Mikael Nordfeldth
|
b3e61ce7d0
Stronger typing, require array where param array
|
11 years ago |
Mikael Nordfeldth
|
fac7371179
pivotGet moved into Managed_DataObject
|
11 years ago |
Mikael Nordfeldth
|
b1465a7559
We can now do late static binding (PHP >= 5.3)
|
11 years ago |
Mikael Nordfeldth
|
97ce71e55d
Managed_DataObject now has listGet for all classes
|
11 years ago |
Mikael Nordfeldth
|
861e838add
pkeyGet is now static and more similar to getKV
|
11 years ago |
Mikael Nordfeldth
|
2a4dc77a63
The overloaded DB_DataObject function staticGet is now called getKV
|
11 years ago |
Mikael Nordfeldth
|
d115cddfb7
Managed_DataObject gets dynamic class detection for staticGet
|
11 years ago |
Brion Vibber
|
1d15037d6a
Further fixes to Managed_DataObject::_allCacheKeys(): now uses self::multicacheKey() to generate the (possibly compound) keys, which makes it match the order of the keys used when calling pkeyGet().
|
13 years ago |
Brion Vibber
|
69765a0550
Fix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to override the one in Memcached_DataObject.
|
13 years ago |
Zach Copley
|
e59b30c14b
Fix E_NOTICE from attempt to access undefined array key
|
13 years ago |
Evan Prodromou
|
b83af83b82
return links for foreign keys
|
13 years ago |
Brion Vibber
|
a54eb0941e
Tweaking request_queue -> group_join_queue, easier to deal with the indexes and keys and caching this way.
|
13 years ago |
Brion Vibber
|
62d4701148
fix a couple bugs in Managed_DataObject
|
14 years ago |
Brion Vibber
|
1f4b168e69
tweak for Managed_DataObject table defs
|
14 years ago |
Brion Vibber
|
1a7d830fff
prettify code
|
14 years ago |
Brion Vibber
|
eaa4ded053
first pass at columndef->drupal-style array converter (need to handle some more things probably; untested)
|
14 years ago |
Brion Vibber
|
aff54d8efb
Managed_DataObject initial sketches (pulling Drupal-style schema def into the data that DB_DataObject and Memcached_DataObject use; not yet functional. Converted OStatus_profile for demo.)
|
14 years ago |