Mikael Nordfeldth
|
42a62da764
getByUri shorthand function for Managed_DataObject (with uri)
|
8 anni fa |
Mikael Nordfeldth
|
7978cd6d59
s/EmptyIdException/EmptyPkeyValueException/
|
8 anni fa |
Mikael Nordfeldth
|
250d99d997
Allow actions to be performed on updateWithKeys
|
8 anni fa |
Mikael Nordfeldth
|
d672547112
getAliases should be only a list (numeric array)
|
8 anni fa |
Mikael Nordfeldth
|
b59dacb806
getAliases for Profile and Notice
|
8 anni fa |
Mikael Nordfeldth
|
49b7648fea
Managed_DataObject gets onInsert and onUpdate
|
8 anni fa |
Mikael Nordfeldth
|
3dea259f52
Return intval from getID()
|
8 anni fa |
Mikael Nordfeldth
|
efe23ed404
updateWithKeys now understands multi-column keys
|
8 anni fa |
Mikael Nordfeldth
|
93c614c184
Do updateWithKeys properly if someone would like to update PRI
|
8 anni fa |
Mikael Nordfeldth
|
b4b57bba54
EmptyIdException to make sure we get the right in catch
|
9 anni fa |
Mikael Nordfeldth
|
6606781916
Proper error message in exception
|
9 anni fa |
Mikael Nordfeldth
|
67e7bc55ea
Bookmarks are almost migrated
|
9 anni fa |
Mikael Nordfeldth
|
fe9457daea
Syntax and minor fixes
|
9 anni fa |
Mikael Nordfeldth
|
37f2da03e1
newUri might as well be put in Managed_DataObject
|
9 anni fa |
Mikael Nordfeldth
|
daaafd86e2
DB_DataObject recommends using ->tableName()
|
9 anni fa |
Mikael Nordfeldth
|
50f0235654
Oops, don't forget to remove var_dump(...)
|
9 anni fa |
Mikael Nordfeldth
|
ebdd792b6f
getByPK (primary key) lookup for Managed_DataObject instances
|
9 anni fa |
Mikael Nordfeldth
|
ca19a5cd6d
Easier pkeyCols call to get primary key columns
|
9 anni fa |
Mikael Nordfeldth
|
45dc76de26
File and File_redirection adhoc storage methods updated for urlhash
|
9 anni fa |
Mikael Nordfeldth
|
94e19e1ac6
escapedTableName for SQL query easy access
|
9 anni fa |
Mikael Nordfeldth
|
427a6e39ee
added non-critical FIXMEs
|
9 anni fa |
Mikael Nordfeldth
|
59bbc81c4b
updateWithKeys did not always COMMIT transactions
|
9 anni fa |
Mikael Nordfeldth
|
470971cf47
File_thumbnail uses file_id as PRI
|
9 anni fa |
Mikael Nordfeldth
|
12058c30b4
Managed_DataObject->updateWithKeys throws its own exception
|
9 anni fa |
Mikael Nordfeldth
|
998afe1844
updateWithKeys reworked to more reliable execution
|
9 anni fa |
Mikael Nordfeldth
|
4917a422a1
updateKeys -> updateWithKeys (w/ functionality)
|
9 anni fa |
Mikael Nordfeldth
|
e38d78eba9
updateKeys (for classes with PRI id) now in Managed_DataObject
|
9 anni fa |
Mikael Nordfeldth
|
5127a83935
Add Managed_DataObject getID() to avoid $obj->id
|
10 anni fa |
Mikael Nordfeldth
|
b903db059c
static:: call are less cluttery
|
11 anni fa |
Mikael Nordfeldth
|
b0dfc70a54
Properly unlink all old avatars when deleting/uploading a new
|
11 anni fa |