mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
clean code (#36317)
* clean code * clean code * clean doc * clean doc * clean doc * clean doc * fix * fix * fix * fix --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -126,11 +126,11 @@ if (!function_exists('str_contains')) {
|
||||
* 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|BlockedLog $object Dolibarr common object.
|
||||
* @param string $module Override object element, for example to use 'mycompany' instead of 'societe'
|
||||
* @param int $forobject Return the more complete path for the given object instead of for the module only.
|
||||
* @param string $mode 'output' (full main dir) or 'outputrel' (relative dir) or 'temp' (full dir for temporary files) or 'version' (full dir for archived files)
|
||||
* @return string|null The path of the relative directory of the module, ending with /
|
||||
* @param CommonObject|BlockedLog $object Dolibarr common object.
|
||||
* @param string $module Override object element, for example to use 'mycompany' instead of 'societe'
|
||||
* @param int $forobject Return the more complete path for the given object instead of for the module only.
|
||||
* @param string $mode 'output' (full main dir) or 'outputrel' (relative dir) or 'temp' (full dir for temporary files) or 'version' (full dir for archived files)
|
||||
* @return string|null The path of the relative directory of the module, ending with /
|
||||
* @since Dolibarr V18
|
||||
*/
|
||||
function getMultidirOutput($object, $module = '', $forobject = 0, $mode = 'output')
|
||||
|
||||
Reference in New Issue
Block a user