summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-16 15:21:57 +0100
committerGitHub <noreply@github.com>2018-11-16 15:21:57 +0100
commit5d00407388362b257e35fe9df96a5b790533165e (patch)
tree575586cf16ae4fc2c5def5682895c185e3a333f7 /doc/classes
parent193324f3541089fd95917ad341447390d7a6d14b (diff)
parent48166a9f3c4ae79f7b8c9de19107b5da079bc175 (diff)
Merge pull request #23685 from Kanabenki/add-store-csv-line
Add store_csv_line method for File
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/File.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index 6c900385f7..1745389833 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -100,7 +100,7 @@
<argument index="0" name="delim" type="String" default="&quot;,&quot;">
</argument>
<description>
- Returns the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma).
+ Returns the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma), it should be one character long.
</description>
</method>
<method name="get_double" qualifiers="const">
@@ -327,6 +327,17 @@
Stores the given array of bytes in the file.
</description>
</method>
+ <method name="store_csv_line">
+ <return type="void">
+ </return>
+ <argument index="0" name="values" type="PoolStringArray" default="&quot;,&quot;">
+ </argument>
+ <argument index="1" name="delim" type="String" default="&quot;,&quot;">
+ </argument>
+ <description>
+ Store the given [PoolStringArray] in the file as a line formatted in the CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma), it should be one character long.
+ </description>
+ </method>
<method name="store_double">
<return type="void">
</return>