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