Source for file Command.php
Documentation is available at Command.php
* "THE BEER-WARE LICENSE" (Revision 42):
* "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
* As long as you retain this notice you can do whatever you want with
* this stuff. If we meet some day, and you think this stuff is worth it,
* you can buy me a beer in return.
* @copyright Copyright (c) 2007 Sven Strittmatter
require_once dirname(__FILE__ ). "/../RequestResponse/Http/HttpRequest.php";
require_once dirname(__FILE__ ). "/../RequestResponse/Http/HttpResponse.php";
require_once dirname(__FILE__ ). "/../TemplateView/TemplateView.php";
* Schnittstelle fuer Commands.
* Ein Command realisiert eine Teil der Controller Seite
* Ein Command-Objekt fuehrt eine konkrete Aktion aus. Ein
* Command verfuegt nur ueber eine oeffentliche Methode um
* das Comamnd auszufuehren.
* @copyright Copyright (c) 2007 Sven Strittmatter
* @author "Sven Strittmatter" <ausserirdisch@sven-space.de>
* @link http://www.sven-space.de/code/php/MVClasses
* Fuehrt das jeweilige Commmand an den uebergebenen
* Request- und Response-Objekten aus.
public function execute(Request $req, Response $res);
|