diff --git a/htdocs/includes/modules/commande/pdf_edison.modules.php b/htdocs/includes/modules/commande/pdf_edison.modules.php index f888e576a55..587c5eb490f 100644 --- a/htdocs/includes/modules/commande/pdf_edison.modules.php +++ b/htdocs/includes/modules/commande/pdf_edison.modules.php @@ -88,14 +88,15 @@ class pdf_edison extends ModelePDFCommandes /** * Function to build pdf onto disk - - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/includes/modules/commande/pdf_einstein.modules.php b/htdocs/includes/modules/commande/pdf_einstein.modules.php index 6bbcd45bcb4..5fc3d598b4a 100644 --- a/htdocs/includes/modules/commande/pdf_einstein.modules.php +++ b/htdocs/includes/modules/commande/pdf_einstein.modules.php @@ -119,14 +119,15 @@ class pdf_einstein extends ModelePDFCommandes /** * Function to build pdf onto disk - - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/includes/modules/facture/doc/pdf_crabe.modules.php b/htdocs/includes/modules/facture/doc/pdf_crabe.modules.php index de4c443b387..f406208fe7e 100755 --- a/htdocs/includes/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/doc/pdf_crabe.modules.php @@ -121,13 +121,15 @@ class pdf_crabe extends ModelePDFFactures /** * Function to build pdf onto disk - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/includes/modules/facture/doc/pdf_oursin.modules.php b/htdocs/includes/modules/facture/doc/pdf_oursin.modules.php index b5f90c6d9ec..4e14f622533 100755 --- a/htdocs/includes/modules/facture/doc/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/doc/pdf_oursin.modules.php @@ -108,13 +108,15 @@ class pdf_oursin extends ModelePDFFactures /** * Function to build pdf onto disk - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index 3781a0606e4..a426e8bf1f2 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -102,14 +102,15 @@ class pdf_propale_azur extends ModelePDFPropales /** * Function to build pdf onto disk - * - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php b/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php index 1820e8393d8..f3dd60f6ae9 100644 --- a/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php @@ -102,14 +102,15 @@ class pdf_propale_jaune extends ModelePDFPropales /** * Function to build pdf onto disk - * - * @param object Id of object to generate - * @param outputlangs Lang output object - * @param srctemplatepath Full path of source filename for generator using a template file - * @param hidedetails Do not show line details - * @param hidedesc Do not show desc - * @param hideref Do not show ref - * @return int 1=OK, 0=KO + * + * @param int $object Id of object to generate + * @param object $outputlangs Lang output object + * @param string $srctemplatepath Full path of source filename for generator using a template file + * @param int $hidedetails Do not show line details + * @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 */ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0,$hookmanager=false) { diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 12b4fb94d17..2af26b6fc8d 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -231,13 +231,13 @@ if ($canreadperms) } print ""; if (! empty($conf->multicompany->enabled)) - { + { $mc = new ActionsMulticompany($db); $mc->getInfo($obj->entity); print '