2
0
forked from Wavyzz/dolibarr

Update functions.lib.php

This commit is contained in:
Laurent Destailleur
2023-03-18 10:55:05 +01:00
committed by GitHub
parent bd4d06887c
commit dd885a8e29

View File

@@ -72,12 +72,12 @@ if (!function_exists('utf8_decode')) {
}
/**
* Return multidir output for an Dolibarr object
* Return the full path of the directory where a module (or an object of a module) stores its files. Path may depends on the entity if a multicompany module is enabled.
*
* @param CommonObject $object Dolibarr common object
* @param string $module override object element, by example mycompany instead societe
* @param CommonObject $object Dolibarr common object
* @param string $module Override object element, for example to use 'mycompany' instead of 'societe'
* @return string|void The path of the relative directory of the module
* @since Dolibarr V18
* @return string|void
*/
function getMultidirOutput($object, $module = '')
{