Documented commonObject::commonGenerateDocument
This commit is contained in:
parent
016c889aa8
commit
8f492a6677
@ -3475,6 +3475,17 @@ abstract class CommonObject
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common function for all objects extending CommonObject for generating documents
|
||||||
|
*
|
||||||
|
* @param string $modelspath Relative folder where models are placed
|
||||||
|
* @param string $modele Model to use
|
||||||
|
* @param Translate $outputlangs Language to use
|
||||||
|
* @param int $hidedetails 1 to hide details. 0 by default
|
||||||
|
* @param int $hidedesc 1 to hide product description. 0 by default
|
||||||
|
* @param int $hideref 1 to hide product reference. 0 by default
|
||||||
|
* @return int 1 if OK -1 if not OK
|
||||||
|
*/
|
||||||
protected function commonGenerateDocument($modelspath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref)
|
protected function commonGenerateDocument($modelspath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref)
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user