From dddd111f132ebe63b7718027a8f8feb3302a9392 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 8 Nov 2003 09:02:02 +0000 Subject: Modifyed header to be compliant with PhpDocumentor git-svn-id: http://piwigo.org/svn/trunk@235 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 1d7c2aaec..ccfc5fa88 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -1,21 +1,20 @@ * - * author : Pierrick LE GALL * - * * - * $Id$ - * * - *************************************************************************** +// +-----------------------------------------------------------------------+ +// | functions.inc.php | +// +-----------------------------------------------------------------------+ +// | application : PhpWebGallery 1.3 | +// | author : Pierrick LE GALL | +// +-----------------------------------------------------------------------+ +// | file : $RCSfile$ +// | tag : $Name$ +// | last update : $Date$ +// | revision : $Revision$ +// +-----------------------------------------------------------------------+ +// | 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; | +// +-----------------------------------------------------------------------+ - *************************************************************************** - * * - * 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; * - * * - ***************************************************************************/ include( PREFIX_INCLUDE.'./include/functions_user.inc.php' ); include( PREFIX_INCLUDE.'./include/functions_session.inc.php' ); include( PREFIX_INCLUDE.'./include/functions_category.inc.php' ); @@ -26,6 +25,16 @@ include( PREFIX_INCLUDE.'./include/functions_group.inc.php' ); // get_enums returns an array containing the possible values of a enum field // in a table of the database. +/** + * possible values of an "enum" field + * + * get_enums returns an array containing the possible values of a enum field + * in a table of the database. + * + * @param string table in the database + * @param string field name in this table + * @uses str_replace + */ function get_enums( $table, $field ) { // retrieving the properties of the table. Each line represents a field : -- cgit v1.2.3