Fix doc
This commit is contained in:
parent
2966b2303b
commit
48e6db17bd
@ -123,7 +123,7 @@ class ImportCsv extends ModeleImports
|
|||||||
* Output header of an example file for this format
|
* Output header of an example file for this format
|
||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @return string
|
* @return string Empty string
|
||||||
*/
|
*/
|
||||||
public function write_header_example($outputlangs)
|
public function write_header_example($outputlangs)
|
||||||
{
|
{
|
||||||
@ -137,7 +137,7 @@ class ImportCsv extends ModeleImports
|
|||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @param array $headerlinefields Array of fields name
|
* @param array $headerlinefields Array of fields name
|
||||||
* @return string$limittoachartaccount
|
* @return string String output
|
||||||
*/
|
*/
|
||||||
public function write_title_example($outputlangs, $headerlinefields)
|
public function write_title_example($outputlangs, $headerlinefields)
|
||||||
{
|
{
|
||||||
@ -152,7 +152,7 @@ class ImportCsv extends ModeleImports
|
|||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @param array $contentlinevalues Array of lines
|
* @param array $contentlinevalues Array of lines
|
||||||
* @return string
|
* @return string String output
|
||||||
*/
|
*/
|
||||||
public function write_record_example($outputlangs, $contentlinevalues)
|
public function write_record_example($outputlangs, $contentlinevalues)
|
||||||
{
|
{
|
||||||
@ -166,7 +166,7 @@ class ImportCsv extends ModeleImports
|
|||||||
* Output footer of an example file for this format
|
* Output footer of an example file for this format
|
||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @return string
|
* @return string Empty string
|
||||||
*/
|
*/
|
||||||
public function write_footer_example($outputlangs)
|
public function write_footer_example($outputlangs)
|
||||||
{
|
{
|
||||||
@ -175,7 +175,6 @@ class ImportCsv extends ModeleImports
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||||
/**
|
/**
|
||||||
* Open input file
|
* Open input file
|
||||||
|
|||||||
@ -130,7 +130,7 @@ class ImportXlsx extends ModeleImports
|
|||||||
* Output header of an example file for this format
|
* Output header of an example file for this format
|
||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @return string
|
* @return string Empty string
|
||||||
*/
|
*/
|
||||||
public function write_header_example($outputlangs)
|
public function write_header_example($outputlangs)
|
||||||
{
|
{
|
||||||
@ -164,7 +164,7 @@ class ImportXlsx extends ModeleImports
|
|||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @param array $headerlinefields Array of fields name
|
* @param array $headerlinefields Array of fields name
|
||||||
* @return string
|
* @return string String output
|
||||||
*/
|
*/
|
||||||
public function write_title_example($outputlangs, $headerlinefields)
|
public function write_title_example($outputlangs, $headerlinefields)
|
||||||
{
|
{
|
||||||
@ -190,7 +190,7 @@ class ImportXlsx extends ModeleImports
|
|||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @param array $contentlinevalues Array of lines
|
* @param array $contentlinevalues Array of lines
|
||||||
* @return string
|
* @return string Empty string
|
||||||
*/
|
*/
|
||||||
public function write_record_example($outputlangs, $contentlinevalues)
|
public function write_record_example($outputlangs, $contentlinevalues)
|
||||||
{
|
{
|
||||||
@ -210,7 +210,7 @@ class ImportXlsx extends ModeleImports
|
|||||||
* Output footer of an example file for this format
|
* Output footer of an example file for this format
|
||||||
*
|
*
|
||||||
* @param Translate $outputlangs Output language
|
* @param Translate $outputlangs Output language
|
||||||
* @return string
|
* @return string String output
|
||||||
*/
|
*/
|
||||||
public function write_footer_example($outputlangs)
|
public function write_footer_example($outputlangs)
|
||||||
{
|
{
|
||||||
@ -258,7 +258,7 @@ class ImportXlsx extends ModeleImports
|
|||||||
* Return nb of records. File must be closed.
|
* Return nb of records. File must be closed.
|
||||||
*
|
*
|
||||||
* @param string $file Path of filename
|
* @param string $file Path of filename
|
||||||
* @return int <0 if KO, >=0 if OK
|
* @return int <0 if KO, >=0 if OK
|
||||||
*/
|
*/
|
||||||
public function import_get_nb_of_lines($file)
|
public function import_get_nb_of_lines($file)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user