Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 10, 2024
1 parent 579aa77 commit 37df9c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/accountancy/class/accountancyexport.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,19 +358,19 @@ public function getMimeType($formatexportset)
/**
* Function who chose which export to use with the default config, and make the export into a file
*
* @param BookKeepingLine[] $TData Array with data
* @param BookKeepingLine[] $TData Array with data
* @param int $formatexportset Id of export format
* @param int<0,1> $withAttachment [=0] Not add files
* or 1 to have attached in an archive (ex : Quadratus) - Force output mode to write in a file (output mode = 1)
* @param int<1,1> $downloadMode [=0] Direct download. Deprecated. Always use value other value.
* @param int<1,1> $downloadMode [=0] Direct download. Deprecated. Always use another value.
* or 1 to download after writing files - Forced by default when use withAttachment = 1
* or -1 not to download files
* @param int<1,2> $outputMode [=0] Print on screen. Deprecated. Always use value other value.
* @param int<1,2> $outputMode [=0] Print on screen. Deprecated. Always use another value.
* or 1 to write in file and uses the temp directory - Forced by default when use withAttachment = 1
* or 2 to write in file a default export directory (accounting/export/)
* @param int<1,1> $noouput 0=old mode. Deprecated. Always use value 1.
* or 1=Do not output the file on stdout with this method. This must always be done by the main page, never by a method.
* @return int Return integer <0 if KO, >0 OK. The property ->generatedfile is also filled.
* @return int Return integer <0 if KO, >0 OK. The property ->generatedfile is also filled.
*/
public function export(&$TData, $formatexportset, $withAttachment = 0, $downloadMode = 1, $outputMode = 1, $noouput = 1)
{
Expand Down

0 comments on commit 37df9c3

Please sign in to comment.