cvs: php4 /pear/Cache Function.php

From: Date: Sat, 03 Mar 2001 19:17:20 +0000
Subject: cvs: php4 /pear/Cache Function.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4373@lists.php.net to get a copy of this message
uw Sat Mar 3 11:17:20 2001 EDT Modified files: /php4/pear/Cache Function.php Log: Changed the order of the inline module comment and the copyright stuff. Ok, I know this will lead to some discussion. But please let me change it so that PHPDoc works with it. Future version of PHPDoc will be able to handle the other order but this version... I'll redo my changed as well as soon as there is a new PHPDoc version. Index: php4/pear/Cache/Function.php diff -u php4/pear/Cache/Function.php:1.5 php4/pear/Cache/Function.php:1.6 --- php4/pear/Cache/Function.php:1.5 Fri Mar 2 00:27:43 2001 +++ php4/pear/Cache/Function.php Sat Mar 3 11:17:20 2001 @@ -1,24 +1,4 @@ <?php -// +----------------------------------------------------------------------+ -// | PHP version 4.0 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.0 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Authors: Sebastian Bergmann <sb@sebastian-bergmann.de> | -// +----------------------------------------------------------------------+ -// -// $Id: Function.php,v 1.5 2001/03/02 08:27:43 sbergmann Exp $ - -require_once 'Cache.php'; - /** * Function_Cache * @@ -51,19 +31,40 @@ * global or static variables, don't rely on database queries or * files, and so on. * -* @author Sebastian Bergmann <sb@sebastian-bergmann.de> -* @module Function_Cache -* @version $Revision: 1.5 $ -* @access public +* @author Sebastian Bergmann <sb@sebastian-bergmann.de> +* @module Function_Cache +* @modulegroup Function_Cache +* @package Cache +* @version $Revision: 1.6 $ +* @access public */ +// +----------------------------------------------------------------------+ +// | PHP version 4.0 | +// +----------------------------------------------------------------------+ +// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | +// +----------------------------------------------------------------------+ +// | This source file is subject to version 2.0 of the PHP license, | +// | that is bundled with this package in the file LICENSE, and is | +// | available at through the world-wide-web at | +// | http://www.php.net/license/2_02.txt. | +// | If you did not receive a copy of the PHP license and are unable to | +// | obtain it through the world-wide-web, please send a note to | +// | license@php.net so we can mail you a copy immediately. | +// +----------------------------------------------------------------------+ +// | Authors: Sebastian Bergmann <sb@sebastian-bergmann.de> | +// +----------------------------------------------------------------------+ +// +// $Id: Function.php,v 1.6 2001/03/03 19:17:20 uw Exp $ + +require_once 'Cache.php'; + /** * Calls a cacheable function or method. * * @return mixed $result * @access public */ - function cached_function_call() { global $FUNCTION_CACHE_CONTAINER, $FUNCTION_CACHE_CONTAINER_OPTIONS;

« previous php.cvs (#4373) next »