diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-11-08 09:02:02 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-11-08 09:02:02 +0000 |
commit | dddd111f132ebe63b7718027a8f8feb3302a9392 (patch) | |
tree | 1c806f202aa80ac5a9de0a5ac3224be3c313d2b3 /include | |
parent | 0849f45a9950765c5329f9f77fb0cb82ec17a9fc (diff) |
Modifyed header to be compliant with PhpDocumentor
git-svn-id: http://piwigo.org/svn/trunk@235 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 41 |
1 files 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 @@ <?php -/*************************************************************************** - * functions.inc.php * - * ------------------- * - * application : PhpWebGallery 1.3 <http://phpwebgallery.net> * - * author : Pierrick LE GALL <pierrick@z0rglub.com> * - * * - * $Id$ - * * - *************************************************************************** +// +-----------------------------------------------------------------------+ +// | functions.inc.php | +// +-----------------------------------------------------------------------+ +// | application : PhpWebGallery 1.3 <http://phpwebgallery.net> | +// | author : Pierrick LE GALL <pierrick@z0rglub.com> | +// +-----------------------------------------------------------------------+ +// | 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 : |