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