wcmf logo wemove logo

class.ViewController.php

Go to the documentation of this file.
00001 <?php
00002 /**
00003  * wCMF - wemove Content Management Framework
00004  * Copyright (C) 2005-2009 wemove digital solutions GmbH
00005  *
00006  * Licensed under the terms of any of the following licenses 
00007  * at your choice:
00008  *
00009  * - GNU Lesser General Public License (LGPL)
00010  *   http://www.gnu.org/licenses/lgpl.html
00011  * - Eclipse Public License (EPL)
00012  *   http://www.eclipse.org/org/documents/epl-v10.php
00013  *
00014  * See the license.txt file distributed with this work for 
00015  * additional information.
00016  *
00017  * $Id: class.ViewController.php 929 2009-02-22 23:20:49Z iherwig $
00018  */
00019 require_once(BASE."wcmf/lib/presentation/class.Controller.php");
00020 
00021 /**
00022  * @class ViewController
00023  * @ingroup Controller
00024  * @brief ViewController is a controller that has no logic.
00025  * It is used to display a static view only.
00026  * 
00027  * <b>Input actions:</b>
00028  * - unspecified: Present the view
00029  *
00030  * <b>Output actions:</b>
00031  * - @em ok In any case
00032  *
00033  * @author      ingo herwig <ingo@wemove.com>
00034  */
00035 class ViewController extends Controller
00036 {
00037   /**
00038    * @see Controller::hasView()
00039    */
00040   function hasView()
00041   {
00042     return true;
00043   }
00044   /**
00045    * @return False (Stop action processing chain).
00046    * @see Controller::executeKernel()
00047    */
00048   function executeKernel()
00049   {
00050     $this->_response->setAction('ok');
00051     return false;
00052   }
00053 }
00054 ?>

This page generated via doxygen 1.5.8 Mon Mar 30 01:58:34 2009.
Copyright © 2009 wemove digital solutions GmbH.
sourceforge logo