mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-29 12:49:57 +03:00
adding phpdocumentor variables to function get_enums
git-svn-id: http://piwigo.org/svn/trunk@360 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
7e0459d7b4
commit
67a01f300d
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,6 @@ include( PREFIX_INCLUDE.'./include/functions_group.inc.php' );
|
||||||
|
|
||||||
//----------------------------------------------------------- generic functions
|
//----------------------------------------------------------- generic functions
|
||||||
|
|
||||||
// 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
|
* possible values of an "enum" field
|
||||||
*
|
*
|
||||||
|
@ -35,6 +33,9 @@ include( PREFIX_INCLUDE.'./include/functions_group.inc.php' );
|
||||||
* @param string table in the database
|
* @param string table in the database
|
||||||
* @param string field name in this table
|
* @param string field name in this table
|
||||||
* @uses str_replace
|
* @uses str_replace
|
||||||
|
* @uses explode
|
||||||
|
* @uses sizeof
|
||||||
|
* @uses substr
|
||||||
*/
|
*/
|
||||||
function get_enums( $table, $field )
|
function get_enums( $table, $field )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue