Filter
[ class tree: Filter ] [ index: Filter ] [ all elements ]

Source for file UpperCaseFilter.php

Documentation is available at UpperCaseFilter.php

  1. <?php
  2. /**
  3.  * MVClasses
  4.  *
  5.  * LICENSE
  6.  *
  7.  * "THE BEER-WARE LICENSE" (Revision 42):
  8.  * "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
  9.  * As long as you retain this notice you can do whatever you want with
  10.  * this stuff. If we meet some day, and you think this stuff is worth it,
  11.  * you can buy me a beer in return.
  12.  *
  13.  * @category    MVClasses
  14.  * @package     Filter
  15.  * @copyright   Copyright (c) 2007 Sven Strittmatter
  16.  */
  17.  
  18. /**
  19.  * @see Filter
  20.  */
  21. require_once dirname(__FILE__)."/Filter.php";
  22.  
  23. /**
  24.  * Enter description here...
  25.  * 
  26.  * Longdesc
  27.  * 
  28.  * @todo complete description
  29.  *
  30.  * @category    MVClasses
  31.  * @package     Filter
  32.  * @copyright     Copyright (c) 2007 Sven Strittmatter
  33.  * @author    "Sven Strittmatter" <ausserirdisch@sven-space.de>
  34.  * @version     1.0
  35.  * @link        http://www.sven-space.de/code/php/MVClasses
  36.  */
  37. class UpperCaseFilter implements Filter {
  38.     public function execute(Request $reqResponse $res{
  39.         $body $res->getBody();
  40.         $res->setBody(strtoupper($body));
  41.     }
  42. }

Documentation generated on Sun, 02 Aug 2009 17:15:04 +0200 by phpDocumentor 1.4.2