wCMF
3.6
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
class.FailureController.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.FailureController.php 1462 2014-02-04 23:52:27Z iherwig $
18
*/
19
require_once(BASE.
"wcmf/lib/presentation/class.Controller.php"
);
20
21
/**
22
* @class FailureController
23
* @ingroup Controller
24
* @brief FailureController is a controller that shows an error page to the user.
25
*
26
* <b>Input actions:</b>
27
* - unspecified: Display the error message
28
*
29
* <b>Output actions:</b>
30
* - @em ok In any case
31
*
32
* @param[in,out] errorMsg The message to display
33
*
34
* @author ingo herwig <ingo@wemove.com>
35
*/
36
class
FailureController
extends
Controller
37
{
38
/**
39
* @see Controller::hasView()
40
*/
41
function
hasView
()
42
{
43
return
true
;
44
}
45
/**
46
* Assign error message to View.
47
* @return False in every case.
48
* @see Controller::executeKernel()
49
*/
50
function
executeKernel
()
51
{
52
// assign model to view
53
$this->_response->setValue(
'errorMsg'
, $this->_request->getValue(
'errorMsg'
));
54
55
$this->_response->setAction(
'ok'
);
56
return
false
;
57
}
58
}
59
?>
FailureController\hasView
hasView()
Definition:
class.FailureController.php:41
FailureController\executeKernel
executeKernel()
Definition:
class.FailureController.php:50
FailureController
FailureController is a controller that shows an error page to the user.
Definition:
class.FailureController.php:36
Controller
Controller is the base class of all controllers. If a Controller has a view it is expected to reside ...
Definition:
class.Controller.php:54
wcmf3.x
SVN
framework
wcmf
application
controller
class.FailureController.php
Generated on Wed Feb 5 2014 10:51:04 for wCMF by
1.8.6