Source for file upper.php

Documentation is available at upper.php

  1. <?php
  2.  
  3. /**
  4.  * Makes a string uppercased
  5.  * <pre>
  6.  *  * value : the text to uppercase
  7.  * </pre>
  8.  * This software is provided 'as-is', without any express or implied warranty.
  9.  * In no event will the authors be held liable for any damages arising from the use of this software.
  10.  *
  11.  * @author     Jordi Boggiano <j.boggiano@seld.be>
  12.  * @copyright  Copyright (c) 2008, Jordi Boggiano
  13.  * @license    http://dwoo.org/LICENSE   Modified BSD License
  14.  * @link       http://dwoo.org/
  15.  * @version    1.0.0
  16.  * @date       2008-10-23
  17.  * @package    Dwoo
  18.  */
  19. function Dwoo_Plugin_upper_compile(Dwoo_Compiler $compiler$value)
  20. {
  21.     return 'mb_strtoupper((string) '.$value.', $this->charset)';
  22. }

Documentation generated on Sun, 07 Feb 2010 17:54:00 +0000 by phpDocumentor 1.4.0