dolibarr 21.0.0-alpha
doc.lib.php File Reference

Set of functions used for ODT generation. More...

Go to the source code of this file.

Functions

 doc_getlinedesc ($line, $outputlangs, $hideref=0, $hidedesc=0, $issupplierline=0)
 Return line description translated in outputlangs and encoded into UTF8.
 

Detailed Description

Set of functions used for ODT generation.

Definition in file doc.lib.php.

Function Documentation

◆ doc_getlinedesc()

doc_getlinedesc ( $line,
$outputlangs,
$hideref = 0,
$hidedesc = 0,
$issupplierline = 0 )

Return line description translated in outputlangs and encoded into UTF8.

Parameters
Object$lineObject of line
Translate$outputlangsObject langs for output
int$hiderefHide reference
int$hidedescHide description
int$issupplierlineIs it a line for a supplier object ?
Returns
string String with line

Definition at line 41 of file doc.lib.php.

References dol_concatdesc(), dol_print_date(), getDolGlobalInt(), and getDolGlobalString().

Referenced by CommonDocGenerator\get_substitutionarray_lines().