Updating all Memcached_DataObject extended classes to Managed_DataObject
In some brief tests, this causes no problems. In this state however, you would need to modify DB_DataObject to have a static declaration of staticget (and probably pkeyGet). The next commit will change the staticGet overload to a unique function name (like getKV for getKeyValue), which means we can properly call the function by PHP Strict Standards.
This commit is contained in:
@@ -42,7 +42,7 @@ class Status_network extends Safe_DataObject
|
||||
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
|
||||
|
||||
/* Static get */
|
||||
function staticGet($k,$v=NULL) {
|
||||
static function staticGet($k,$v=NULL) {
|
||||
$i = DB_DataObject::staticGet('Status_network',$k,$v);
|
||||
|
||||
// Don't use local process cache; if we're fetching multiple
|
||||
|
Reference in New Issue
Block a user