Difference between revisions of "Page Header Block"
From ARK
Line 1: | Line 1: | ||
+ | The page header block should be included at the top of ever new php file. It is exactly as specified in the PEAR standard. This will allow the API to be documented automagically using phpdocumenter. | ||
+ | |||
+ | The block should be as follows: | ||
+ | |||
<pre> | <pre> | ||
Latest revision as of 16:17, 26 February 2009
The page header block should be included at the top of ever new php file. It is exactly as specified in the PEAR standard. This will allow the API to be documented automagically using phpdocumenter.
The block should be as follows:
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * filter_functions.php * * holds filter functions * * PHP versions 4 and 5 * * LICENSE: * ARK - The Archaeological Recording Kit. * An open-source framework for displaying and working with * archaeological data * Copyright 2007 L - P : Partnership Ltd. * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * @category base * @package ark * @author Stuart Eve <stuarteve@lparchaeology.com> * @author Guy Hunt <guy.hunt@lparchaeology.com> * @copyright 1999-2007 L - P : Partnership Ltd. * @license http://ark.lparchaeology.com/license * @version CVS: : * @link http://ark.lparchaeology.com/svn/LINK TO FILE * @since File available since Release 0.5 */