wCMF
3.6
|
Public Member Functions | |
convertStorageToApplication ($data, $type, $name) | |
convertApplicationToStorage ($data, $type, $name) | |
DataConverter is the base class for all converter classes. It defines the interface for converting data between storage and application.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 29 of file class.DataConverter.php.
DataConverter::convertStorageToApplication | ( | $data, | |
$type, | |||
$name | |||
) |
Convert data after reading from storage. This method is called by PersistenceMapper classes after reading the data from the storage.
data | The data from storage. |
type | The type of data. |
name | The name of the data item. |
Definition at line 39 of file class.DataConverter.php.
DataConverter::convertApplicationToStorage | ( | $data, | |
$type, | |||
$name | |||
) |
Convert data before writing to storage. This method is called by PersistenceMapper classes before storing the data to the storage.
data | The data from application. |
type | The type of data. |
name | The name of the data item. |
Definition at line 51 of file class.DataConverter.php.