wCMF
3.6
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
wCMF
wCMF API Documentation
architecture
configuration
credits
dbschema
extensionpoints
howto
howtostart
Todo List
Deprecated List
Modules
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
class.ViewController.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.ViewController.php 1462 2014-02-04 23:52:27Z iherwig $
18
*/
19
require_once(BASE.
"wcmf/lib/presentation/class.Controller.php"
);
20
21
/**
22
* @class ViewController
23
* @ingroup Controller
24
* @brief ViewController is a controller that has no logic.
25
* It is used to display a static view only.
26
*
27
* <b>Input actions:</b>
28
* - unspecified: Present the view
29
*
30
* <b>Output actions:</b>
31
* - @em ok In any case
32
*
33
* @author ingo herwig <ingo@wemove.com>
34
*/
35
class
ViewController
extends
Controller
36
{
37
/**
38
* @see Controller::hasView()
39
*/
40
function
hasView
()
41
{
42
return
true
;
43
}
44
/**
45
* @return False (Stop action processing chain).
46
* @see Controller::executeKernel()
47
*/
48
function
executeKernel
()
49
{
50
$this->_response->setAction(
'ok'
);
51
return
false
;
52
}
53
}
54
?>
ViewController\executeKernel
executeKernel()
Definition:
class.ViewController.php:48
ViewController\hasView
hasView()
Definition:
class.ViewController.php:40
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
ViewController
ViewController is a controller that has no logic. It is used to display a static view only...
Definition:
class.ViewController.php:35
wcmf3.x
SVN
framework
wcmf
application
controller
class.ViewController.php
Generated on Wed Feb 5 2014 10:51:04 for wCMF by
1.8.6