tweak for Managed_DataObject table defs
This commit is contained in:
parent
a680e1798c
commit
1f4b168e69
|
@ -38,7 +38,9 @@ abstract class Managed_DataObject extends Memcached_DataObject
|
||||||
*/
|
*/
|
||||||
function table()
|
function table()
|
||||||
{
|
{
|
||||||
$table = self::schemaDef();
|
// Hack for PHP 5.2 not supporting late static binding
|
||||||
|
//$table = static::schemaDef();
|
||||||
|
$table = call_user_func(array(get_class($this), 'schemaDef'));
|
||||||
return array_map(array($this, 'columnBitmap'), $table['fields']);
|
return array_map(array($this, 'columnBitmap'), $table['fields']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user