Fix: avoid warning

Fix: doxygen
This commit is contained in:
Regis Houssin 2011-09-20 15:41:16 +00:00
parent 08b276b8fb
commit 7b6b77ddac
9 changed files with 68 additions and 59 deletions

View File

@ -88,13 +88,14 @@ class pdf_edison extends ModelePDFCommandes
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
*
* @param object Id of object to generate * @param int $object Id of object to generate
* @param outputlangs Lang output object * @param object $outputlangs Lang output object
* @param srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedetails Do not show line details * @param int $hidedetails Do not show line details
* @param hidedesc Do not show desc * @param int $hidedesc Do not show desc
* @param hideref Do not show ref * @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -119,13 +119,14 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
*
* @param object Id of object to generate * @param int $object Id of object to generate
* @param outputlangs Lang output object * @param object $outputlangs Lang output object
* @param srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedetails Do not show line details * @param int $hidedetails Do not show line details
* @param hidedesc Do not show desc * @param int $hidedesc Do not show desc
* @param hideref Do not show ref * @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -121,12 +121,14 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* @param object Id of object to generate *
* @param outputlangs Lang output object * @param int $object Id of object to generate
* @param srctemplatepath Full path of source filename for generator using a template file * @param object $outputlangs Lang output object
* @param hidedetails Do not show line details * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedesc Do not show desc * @param int $hidedetails Do not show line details
* @param hideref Do not show ref * @param int $hidedesc Do not show desc
* @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -108,12 +108,14 @@ class pdf_oursin extends ModelePDFFactures
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* @param object Id of object to generate *
* @param outputlangs Lang output object * @param int $object Id of object to generate
* @param srctemplatepath Full path of source filename for generator using a template file * @param object $outputlangs Lang output object
* @param hidedetails Do not show line details * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedesc Do not show desc * @param int $hidedetails Do not show line details
* @param hideref Do not show ref * @param int $hidedesc Do not show desc
* @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -103,12 +103,13 @@ class pdf_propale_azur extends ModelePDFPropales
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* *
* @param object Id of object to generate * @param int $object Id of object to generate
* @param outputlangs Lang output object * @param object $outputlangs Lang output object
* @param srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedetails Do not show line details * @param int $hidedetails Do not show line details
* @param hidedesc Do not show desc * @param int $hidedesc Do not show desc
* @param hideref Do not show ref * @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -103,12 +103,13 @@ class pdf_propale_jaune extends ModelePDFPropales
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* *
* @param object Id of object to generate * @param int $object Id of object to generate
* @param outputlangs Lang output object * @param object $outputlangs Lang output object
* @param srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param hidedetails Do not show line details * @param int $hidedetails Do not show line details
* @param hidedesc Do not show desc * @param int $hidedesc Do not show desc
* @param hideref Do not show ref * @param int $hideref Do not show ref
* @param object $hookmanager Hookmanager object
* @return int 1=OK, 0=KO * @return int 1=OK, 0=KO
*/ */
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false)

View File

@ -1,5 +1,6 @@
<?php <?php
/* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2011 Regis Houssin <regis@dolibarr.fr>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -51,21 +52,21 @@ if (empty($conf->global->MAIN_MODULE_WEBSERVICES))
// WSDL // WSDL
print '<u>'.$langs->trans("WSDLCanBeDownloadedHere").':</u><br>'; print '<u>'.$langs->trans("WSDLCanBeDownloadedHere").':</u><br>';
$url=DOL_MAIN_URL_ROOT.'/webservices/server_other.php?wsdl'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_other.php?wsdl';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
if ($conf->societe->enabled) if ($conf->societe->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_thirdparty.php?wsdl'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_thirdparty.php?wsdl';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
if ($conf->facture->enabled) if ($conf->facture->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_invoice.php?wsdl'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_invoice.php?wsdl';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
if ($conf->fournisseur->enabled) if ($conf->fournisseur->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php?wsdl'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php?wsdl';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
print '<br>'; print '<br>';
@ -73,26 +74,26 @@ print '<br>';
// Endpoint // Endpoint
print '<u>'.$langs->trans("EndPointIs").':</u><br>'; print '<u>'.$langs->trans("EndPointIs").':</u><br>';
$url=DOL_MAIN_URL_ROOT.'/webservices/server_other.php'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_other.php';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
if ($conf->societe->enabled) if ($conf->societe->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_thirdparty.php'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_thirdparty.php';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
if ($conf->facture->enabled) if ($conf->facture->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_invoice.php'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_invoice.php';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
if ($conf->fournisseur->enabled) if ($conf->fournisseur->enabled)
{ {
$url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php'; $url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php';
print img_picto('','object_globe.png').' '.'<a href="'.$url.'" target="_blank">'.$url."</a><br>\n"; print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
} }
print '<br>'; print '<br>';
print '<br>'; print '<br>';
print 'NUSoap library path used by Dolibarr: '.NUSOAP_PATH.'<br>'; print 'NUSoap library path used by Dolibarr: ' . NUSOAP_PATH . '<br>';
print '<br>'; print '<br>';
$db->close(); $db->close();