Class DataObjectLog
A DataObjectLog is a log of changes that have been made to the database in this session. It was designed to help with updates to the CMS tree, and could be used wherever an Ajax call needs to update a complex on-screen representation of your data.
- Object
-
DataObjectLog
Methods summary
public static
|
|
public static
|
|
public static
|
|
public static
array
|
|
public static
array
|
#
getDeleted( string $className )
Get all DataObjects that have been deleted this session that are of the class or a subclass of the class provided. |
public static
array
|
#
getChanged( string $className )
Get all DataObjects that have been changed this session that are of the class or a subclass of the class provided. |
public static
array
|
#
getByClass( string $className, array $set )
Get all DataObjects in the given set that are of the class or a subclass of the class provided. |
Methods inherited from Object
__call(),
__construct(),
__toString(),
__wakeup(),
addMethodsFrom(),
addStaticVars(),
addWrapperMethod(),
add_extension(),
add_static_var(),
allMethodNames(),
cacheToFile(),
cacheToFileWithArgs(),
clearCache(),
combined_static(),
create(),
createMethod(),
create_from_string(),
defineMethods(),
exists(),
extInstance(),
extend(),
getCustomClass(),
getExtensionInstance(),
getExtensionInstances(),
get_extensions(),
get_static(),
hasExtension(),
hasMethod(),
has_extension(),
invokeWithExtensions(),
is_a(),
loadCache(),
parentClass(),
parse_class_spec(),
remove_extension(),
sanitiseCachename(),
saveCache(),
set_stat(),
set_static(),
set_uninherited(),
stat(),
strong_create(),
uninherited(),
uninherited_static(),
useCustomClass()
Magic methods summary
Properties summary
public static
boolean
|
$enabled |
#
This must be set to true for the DataObjectLog to work |
public static
array
|
$added |
#
The DataObjects that have been added to the database in this session. |
public static
array
|
$deleted |
#
The DataObjects that have been deleted from the database in this session. |
public static
array
|
$changed |
#
The DataObjects that have been changed in the database in this session. |