Initial Commit
This commit is contained in:
98
database/php/pear/PHP/CompatInfo/Renderer/Null.php
Normal file
98
database/php/pear/PHP/CompatInfo/Renderer/Null.php
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright (c) 2008-2009, Laurent Laville <pear@laurent-laville.org>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of the authors nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* @category PHP
|
||||
* @package PHP_CompatInfo
|
||||
* @author Laurent Laville <pear@laurent-laville.org>
|
||||
* @license http://www.opensource.org/licenses/bsd-license.php BSD
|
||||
* @version CVS: $Id: Null.php,v 1.5 2009/01/02 10:18:47 farell Exp $
|
||||
* @link http://pear.php.net/package/PHP_CompatInfo
|
||||
* @since File available since Release 1.8.0b2
|
||||
*/
|
||||
|
||||
/**
|
||||
* Null renderer for PHP_CompatInfo component.
|
||||
*
|
||||
* The PHP_CompatInfo_Renderer_Null class is a concrete implementation
|
||||
* of PHP_CompatInfo_Renderer abstract class. It simply consumes output events.
|
||||
*
|
||||
* @category PHP
|
||||
* @package PHP_CompatInfo
|
||||
* @author Laurent Laville <pear@laurent-laville.org>
|
||||
* @license http://www.opensource.org/licenses/bsd-license.php BSD
|
||||
* @version Release: 1.9.0
|
||||
* @link http://pear.php.net/package/PHP_CompatInfo
|
||||
* @since Class available since Release 1.8.0b2
|
||||
*/
|
||||
class PHP_CompatInfo_Renderer_Null extends PHP_CompatInfo_Renderer
|
||||
{
|
||||
/**
|
||||
* Null Renderer Class constructor (ZE1) for PHP4
|
||||
*
|
||||
* @param object &$parser Instance of the parser (model of MVC pattern)
|
||||
* @param array $conf A hash containing any additional configuration
|
||||
*
|
||||
* @access public
|
||||
* @since version 1.8.0b2 (2008-06-03)
|
||||
*/
|
||||
function PHP_CompatInfo_Renderer_Null(&$parser, $conf)
|
||||
{
|
||||
$this->__construct($parser, $conf);
|
||||
}
|
||||
|
||||
/**
|
||||
* Null Renderer Class constructor (ZE2) for PHP5+
|
||||
*
|
||||
* @param object &$parser Instance of the parser (model of MVC pattern)
|
||||
* @param array $conf A hash containing any additional configuration
|
||||
*
|
||||
* @access public
|
||||
* @since version 1.8.0b2 (2008-06-03)
|
||||
*/
|
||||
function __construct(&$parser, $conf)
|
||||
{
|
||||
parent::PHP_CompatInfo_Renderer($parser, $conf);
|
||||
}
|
||||
|
||||
/**
|
||||
* Consumes output events
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @since version 1.8.0RC1 (2008-07-01)
|
||||
*/
|
||||
function display()
|
||||
{
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user