wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
DataConverter Class Reference
+ Inheritance diagram for DataConverter:

Public Member Functions

 convertStorageToApplication ($data, $type, $name)
 
 convertApplicationToStorage ($data, $type, $name)
 

Detailed Description

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.

Id:
class.DataConverter.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 29 of file class.DataConverter.php.

Member Function Documentation

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.

Parameters
dataThe data from storage.
typeThe type of data.
nameThe name of the data item.
Returns
The converted data.

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.

Parameters
dataThe data from application.
typeThe type of data.
nameThe name of the data item.
Returns
The converted data.

Definition at line 51 of file class.DataConverter.php.


The documentation for this class was generated from the following file: