You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Supporting/FileMakerLayout.php
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -232,12 +232,14 @@ public function query(array|null $condition = null,
232
232
* @param int|null $recordId The recordId.
233
233
* @param array|null $portal See the query() method's same parameter.
234
234
* @param array|null $script scripts that should execute the right timings. See FileMakerRelation::query().
235
+
* @param int|null $dateformats Use this option to specify date formats for date, time, and timestamp fields. The relevant values are: 0 for US, 1 for file locale, or 2 for ISO8601
235
236
* @return FileMakerRelation|null Query result.
236
237
* @throws Exception In case of any error, an exception arises.
@@ -279,13 +284,15 @@ public function getRecord(int|null $recordId,
279
284
* @param array|null $portal Associated array contains the modifying values in the portal.
280
285
* Ex.: {"<PortalName>"=>{"<FieldName>"=>"<Value>"...}}. FieldName has to "<TOCName>::<FieldName>".
281
286
* @param array|null $script scripts that should execute the right timings. See FileMakerRelation::query().
287
+
* @param int|null $dateformats Use this option to specify date formats for date, time, and timestamp fields. The relevant values are: 0 for US, 1 for file locale, or 2 for ISO8601
282
288
* @return int|null The recordId of created record.
283
289
* If the returned value is an integer larger than 0, it shows one record was created.
284
290
* @throws Exception In case of any error, an exception arises.
@@ -368,13 +378,15 @@ public function delete(int|null $recordId,
368
378
* Ex.: {"<PortalName>"=>{"<FieldName>"=>"<Value>", "recordId"=>"12"}}. FieldName has to "<TOCName>::<FieldName>".
369
379
* The recordId key specifies the record to edit in the portal.
370
380
* @param array|null $script scripts that should execute the right timings. See FileMakerRelation::query().
381
+
* @param int|null $dateformats Use this option to specify date formats for date, time, and timestamp fields. The relevant values are: 0 for US, 1 for file locale, or 2 for ISO8601
371
382
* @throws Exception In case of any error, an exception arises.
372
383
*/
373
384
publicfunctionupdate(int|null$recordId,
374
385
array|null$data,
375
386
int$modId = -1,
376
387
array|object|null$portal = null,
377
-
array|null$script = null): void
388
+
array|null$script = null,
389
+
int|null$dateformats = null): void
378
390
{
379
391
if (is_null($recordId)) {
380
392
return;
@@ -392,6 +404,9 @@ public function update(int|null $recordId,
0 commit comments