| 1 | #!/usr/bin/env php |
| 2 | <?php |
| 3 | /** |
| 4 | * PHP auto documentor, like javadoc |
| 5 | * If you get an error uses this as a shell script then its been dosified |
| 6 | * |
| 7 | * phpDocumentor :: automatic documentation generator |
| 8 | * |
| 9 | * PHP versions 4 and 5 |
| 10 | * |
| 11 | * Copyright (c) 2001-2007 Gregory Beaver |
| 12 | * |
| 13 | * LICENSE: |
| 14 | * |
| 15 | * This library is free software; you can redistribute it |
| 16 | * and/or modify it under the terms of the GNU Lesser General |
| 17 | * Public License as published by the Free Software Foundation; |
| 18 | * either version 2.1 of the License, or (at your option) any |
| 19 | * later version. |
| 20 | * |
| 21 | * This library is distributed in the hope that it will be useful, |
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 24 | * Lesser General Public License for more details. |
| 25 | * |
| 26 | * You should have received a copy of the GNU Lesser General Public |
| 27 | * License along with this library; if not, write to the Free Software |
| 28 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 29 | * |
| 30 | * @category ToolsAndUtilities |
| 31 | * @package phpDocumentor |
| 32 | * @author Joshua Eichorn <jeichorn@phpdoc.org> |
| 33 | * @copyright 2000-2007 Joshua Eichorn |
| 34 | * @license http://www.opensource.org/licenses/lgpl-license.php LGPL |
| 35 | * @filesource |
| 36 | * @link http://www.phpdoc.org |
| 37 | * @link http://pear.php.net/PhpDocumentor |
| 38 | * @todo CS cleanup - change package to PhpDocumentor |
| 39 | */ |
| 40 | $base_dir = dirname( dirname( __FILE__ ) ); |
| 41 | |
| 42 | // require config to get CiviCRM related include paths straight |
| 43 | require_once '../civicrm.config.php'; |
| 44 | |
| 45 | require "$base_dir/../packages/PhpDocumentor/phpDocumentor/phpdoc.inc"; |
| 46 | ?> |