Datamanager 2 Data storage implementation: Temporary storage object.

This class is aimed to provide a dummy storage object, used as intermediate backend between nullstorage based creations and final save operations if and only if attachments or parameters are set outside the scope of regular storage operations. Usually, you won't save datamanagers running with this storage backend, accessing the types values directly. The types' convert_to_xxx helper functions can be a nice help if you need string representations. This type is usually only used with the creation controller.

This class is a specialization of the null storage backend with a pre-initialized $object member.

package midcom.helper.datamanager2

 Methods

__construct (\midcom_helper_datamanager2_schema $schema, array $defaults, \midcom_core_temporary_object $object)

Start up the storage manager and bind it to a given temporary object.

Parameters

$schema

\midcom_helper_datamanager2_schemaThe data schema to use for processing.

$defaults

arrayThe defaults to use as "artificial" storage. This can be omitted safely.

$object

\midcom_core_temporary_objectThe temporary object to use.