wCMF
3.6
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
class.Response.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.Response.php 1462 2014-02-04 23:52:27Z iherwig $
18
*/
19
require_once(BASE.
"wcmf/lib/presentation/class.ControllerMessage.php"
);
20
21
/**
22
* @class Response
23
* @ingroup Presentation
24
* @brief Response holds the response values that are used as output from
25
* Controller instances. It is typically instantiated by the ActionMapper
26
* instance and filled during Controller execution.
27
*
28
* @author ingo herwig <ingo@wemove.com>
29
*/
30
class
Response
extends
ControllerMessage
31
{
32
var
$_view
= null;
33
34
/**
35
* Set the view for the output if necessary (e.g. for html response format)
36
* @param view A reference to a View instance
37
*/
38
function
setView
(&$view)
39
{
40
$this->_view = &$view;
41
}
42
/**
43
* Get the view for the output
44
* @return A reference to a View instance
45
*/
46
function
&
getView
()
47
{
48
return
$this->_view
;
49
}
50
}
51
?>
ControllerMessage
ControllerMessages are sent between Controllers and are used to transfer data between them...
Definition:
class.ControllerMessage.php:37
Response\$_view
$_view
Definition:
class.Response.php:32
Response\setView
setView(&$view)
Definition:
class.Response.php:38
Response\getView
& getView()
Definition:
class.Response.php:46
Response
Response holds the response values that are used as output from Controller instances. It is typically instantiated by the ActionMapper instance and filled during Controller execution.
Definition:
class.Response.php:30
wcmf3.x
SVN
framework
wcmf
lib
presentation
class.Response.php
Generated on Wed Feb 5 2014 10:51:06 for wCMF by
1.8.6