wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
class.NullFormat.php
Go to the documentation of this file.
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2014 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of any of the following licenses
7  * at your choice:
8  *
9  * - GNU Lesser General Public License (LGPL)
10  * http://www.gnu.org/licenses/lgpl.html
11  * - Eclipse Public License (EPL)
12  * http://www.eclipse.org/org/documents/epl-v10.php
13  *
14  * See the license.txt file distributed with this work for
15  * additional information.
16  *
17  * $Id: class.AbstractFormat.php 1029 2009-08-06 14:53:12Z iherwig $
18  */
19 require_once(BASE."wcmf/lib/presentation/format/class.IFormat.php");
20 
21 /**
22  * @class NullFormat
23  * @ingroup Format
24  * @brief NullFormat passes through the original request and response objects
25  * without modifying or transforming them.
26  *
27  * @author ingo herwig <ingo@wemove.com>
28  */
29 class NullFormat extends IFormat
30 {
31  /**
32  * @see IFormat::deserialize()
33  */
34  function deserialize(&$request) {}
35 
36  /**
37  * @see IFormat::serialize()
38  */
39  function serialize(&$response) {}
40 }
41 ?>
NullFormat passes through the original request and response objects without modifying or transforming...
IFormat defines the interface for all formatter classes. Formatter classes are used to map external d...
serialize(&$response)
deserialize(&$request)