Source for file optional.php

Documentation is available at optional.php

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

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