dolibarr  7.0.0-beta
Functions
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. More...
 

Detailed Description

Set of functions used for ODT generation.

Definition in file doc.lib.php.

Function Documentation

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

Return line description translated in outputlangs and encoded into UTF8.

Parameters
Line$lineCurrent line number (0 = first line, 1 = second 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(), and dol_print_date().

Referenced by CommonDocGenerator\get_substitutionarray_lines(), and CommonDocGenerator\get_substitutionarray_shipment_lines().