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

Source for file clone5.inc.php

Documentation is available at clone5.inc.php

  1. <?php
  2. /**
  3.  * Object clone method
  4.  *
  5.  * phpDocumentor :: automatic documentation generator
  6.  * 
  7.  * PHP versions 4 and 5
  8.  *
  9.  * Copyright (c) 2001-2006 Gregory Beaver
  10.  * 
  11.  * LICENSE:
  12.  * 
  13.  * This library is free software; you can redistribute it
  14.  * and/or modify it under the terms of the GNU Lesser General
  15.  * Public License as published by the Free Software Foundation;
  16.  * either version 2.1 of the License, or (at your option) any
  17.  * later version.
  18.  * 
  19.  * This library is distributed in the hope that it will be useful,
  20.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  22.  * Lesser General Public License for more details.
  23.  * 
  24.  * You should have received a copy of the GNU Lesser General Public
  25.  * License along with this library; if not, write to the Free Software
  26.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  27.  *
  28.  * @category  ToolsAndUtilities
  29.  * @package   phpDocumentor
  30.  * @author    Greg Beaver <[email protected]>
  31.  * @copyright 2001-2006 Gregory Beaver
  32.  * @license   http://www.opensource.org/licenses/lgpl-license.php LGPL
  33.  * @version   CVS: $Id: clone5.inc.php 243202 2007-09-30 02:08:08Z ashnazg $
  34.  * @filesource
  35.  * @link      http://www.phpdoc.org
  36.  * @link      http://pear.php.net/PhpDocumentor
  37.  * @since     1.0rc1
  38.  * @todo      CS cleanup - change package to PhpDocumentor
  39.  */
  40. /**
  41.  * Clone an object in PHP 5
  42.  *
  43.  * @param object $obj the object to be cloned
  44.  *
  45.  * @return object the new clone
  46.  * @ignore
  47.  * @todo CS cleanup - rename function to PhpDocumentor_clone
  48.  */
  49. function phpDocumentor_clone($obj)
  50. {
  51.     return clone $obj;
  52. }
  53.  
  54. ?>

Documentation generated on Tue, 06 Dec 2011 07:16:53 -0600 by phpDocumentor 1.4.4