doxygen
This commit is contained in:
parent
b59d93c8d7
commit
c98ab917dd
@ -87,12 +87,9 @@ if ($action != 'create' && $action != 'edit')
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Creation of an optional field
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Creation of an optional field
|
||||
*/
|
||||
if ($action == 'create')
|
||||
{
|
||||
print '<br><div id="newattrib"></div>';
|
||||
@ -101,11 +98,9 @@ if ($action == 'create')
|
||||
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Edition of an optional field */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
* Edition of an optional field
|
||||
*/
|
||||
if ($action == 'edit' && ! empty($attrname))
|
||||
{
|
||||
print "<br>";
|
||||
|
||||
@ -587,8 +587,8 @@ if (!empty($conf->global->SHIPPABLE_ORDER_ICON_IN_LIST)) {
|
||||
print '</a></td>';
|
||||
print '</tr>';
|
||||
|
||||
/* Seems to be not so used. So kept hidden for the moment to avoid dangerous options inflation.
|
||||
/*
|
||||
// Seems to be not so used. So kept hidden for the moment to avoid dangerous options inflation.
|
||||
// Ask for payment bank during order
|
||||
if ($conf->banque->enabled)
|
||||
{
|
||||
|
||||
@ -132,24 +132,21 @@ foreach ($modulesdir as $dir)
|
||||
$classname = ucfirst($classname);
|
||||
require_once $dir_part.$file_searched;
|
||||
|
||||
if (class_exists($classname))
|
||||
{
|
||||
dol_syslog("Found API classname=".$classname);
|
||||
$api->r->addAPIClass($classname,'');
|
||||
// if (class_exists($classname))
|
||||
// {
|
||||
// dol_syslog("Found API classname=".$classname);
|
||||
// $api->r->addAPIClass($classname,'');
|
||||
|
||||
// require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Routes.php';
|
||||
// $tmpclass = new ReflectionClass($classname);
|
||||
// try {
|
||||
// $classMetadata = CommentParser::parse($tmpclass->getDocComment());
|
||||
// } catch (Exception $e) {
|
||||
// throw new RestException(500, "Error while parsing comments of `$classname` class. " . $e->getMessage());
|
||||
// }
|
||||
|
||||
/*
|
||||
require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Routes.php';
|
||||
$tmpclass = new ReflectionClass($classname);
|
||||
try {
|
||||
$classMetadata = CommentParser::parse($tmpclass->getDocComment());
|
||||
} catch (Exception $e) {
|
||||
throw new RestException(500, "Error while parsing comments of `$classname` class. " . $e->getMessage());
|
||||
}*/
|
||||
|
||||
//$listofapis[]=array('classname'=>$classname, 'fullpath'=>$file_searched);
|
||||
/* }
|
||||
|
||||
// //$listofapis[]=array('classname'=>$classname, 'fullpath'=>$file_searched);
|
||||
// }
|
||||
}*/
|
||||
}
|
||||
}
|
||||
@ -160,7 +157,7 @@ foreach ($modulesdir as $dir)
|
||||
}
|
||||
|
||||
//var_dump($listofapis);
|
||||
$listofapis = Routes::toArray(); // TODO api for "status" is lost here
|
||||
$listofapis = Routes::toArray(); // @todo api for "status" is lost here
|
||||
//var_dump($listofapis);
|
||||
|
||||
|
||||
|
||||
@ -85,11 +85,11 @@ if ($action != 'create' && $action != 'edit')
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Creation of an optional field */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Creation of an optional field
|
||||
*
|
||||
*/
|
||||
|
||||
if ($action == 'create')
|
||||
{
|
||||
@ -99,11 +99,11 @@ if ($action == 'create')
|
||||
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Edition of an optional field */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Edition of an optional field
|
||||
*
|
||||
*/
|
||||
if ($action == 'edit' && ! empty($attrname))
|
||||
{
|
||||
$langs->load("members");
|
||||
|
||||
@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Creation of an optional field */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Creation of an optional field
|
||||
*
|
||||
*/
|
||||
|
||||
if ($action == 'create')
|
||||
{
|
||||
@ -100,11 +100,11 @@ if ($action == 'create')
|
||||
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Edition of an optional field */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Edition of an optional field
|
||||
*
|
||||
*/
|
||||
if ($action == 'edit' && ! empty($attrname))
|
||||
{
|
||||
$langs->load("members");
|
||||
|
||||
@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Creation d'un champ optionnel
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Creation d'un champ optionnel
|
||||
*
|
||||
*/
|
||||
|
||||
if ($action == 'create')
|
||||
{
|
||||
@ -100,11 +100,11 @@ if ($action == 'create')
|
||||
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Edition d'un champ optionnel */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Edition d'un champ optionnel
|
||||
*
|
||||
*/
|
||||
if ($action == 'edit' && ! empty($attrname))
|
||||
{
|
||||
print "<br>";
|
||||
|
||||
@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Creation d'un champ optionnel
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Creation d'un champ optionnel
|
||||
*
|
||||
*/
|
||||
|
||||
if ($action == 'create')
|
||||
{
|
||||
@ -100,11 +100,11 @@ if ($action == 'create')
|
||||
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Edition d'un champ optionnel */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
*
|
||||
* Edition d'un champ optionnel
|
||||
*
|
||||
*/
|
||||
if ($action == 'edit' && ! empty($attrname))
|
||||
{
|
||||
print "<br>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user