Skip to content

Commit

Permalink
update for 2024.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Dec 22, 2024
1 parent 0885b4c commit 58b7d1d
Show file tree
Hide file tree
Showing 216 changed files with 6,920 additions and 5,460 deletions.
1,672 changes: 1,224 additions & 448 deletions src/AbraFlexi/Actions.php

Large diffs are not rendered by default.

434 changes: 344 additions & 90 deletions src/AbraFlexi/EvidenceList.php

Large diffs are not rendered by default.

258 changes: 239 additions & 19 deletions src/AbraFlexi/Formats.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/AbraFlexi/RO.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ class RO extends \Ease\Sand
/**
* Sloupeček obsahující datum vložení záznamu do shopu.
*/
public string $myCreateColumn = 'false';
public ?string $myCreateColumn = 'false';

/**
* Sloupeček obsahujici datum poslení modifikace záznamu do shopu.
*/
public string $myLastModifiedColumn = 'lastUpdate';
public ?string $myLastModifiedColumn = 'lastUpdate';

/**
* Informace o posledním HTTP requestu.
Expand Down
18 changes: 9 additions & 9 deletions src/AbraFlexi/RW.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class RW extends RO
/**
* Sloupeček obsahující datum vložení záznamu do shopu.
*/
public string $myCreateColumn = 'false';
public ?string $myCreateColumn = '';

/**
* Slopecek obsahujici datum poslení modifikace záznamu do shopu.
* Column with last modification datetime/stamp.
*/
public string $myLastModifiedColumn = 'lastUpdate';
public ?string $myLastModifiedColumn = 'lastUpdate';

/**
* Last Inserted ID.
Expand Down Expand Up @@ -278,7 +278,7 @@ public function deleteFromAbraFlexi($id = null)
}

$this->performRequest(
$this->getEvidenceUrl().'/'.self::urlizeId($id),
$this->getEvidenceUrl().'/'.Functions::urlizeId($id),
'DELETE',
);

Expand Down Expand Up @@ -434,9 +434,9 @@ public static function timestampToFlexiDateTime($timpestamp = null)
*
* @see Relations
*
* @param array $data pole dat
* @param string $relationPath path evidence (relation) pro vkládaná data
* @param bool $removeAll
* @param array<string, string> $data pole dat
* @param string $relationPath path evidence (relation) pro vkládaná data
* @param bool $removeAll
*
* @return bool Operation success
*/
Expand Down Expand Up @@ -517,8 +517,8 @@ public function vazbaDel($vazba): void
* Convert data to AbraFlexi like Json format.
* Array of Labels is converted to coma separated list.
*
* @param array $data
* @param int $options json_encode options like JSON_PRETTY_PRINT etc
* @param array<string, array<string, string>|string> $data
* @param int $options json_encode options like JSON_PRETTY_PRINT etc
*
* @return string
*/
Expand Down
Loading

0 comments on commit 58b7d1d

Please sign in to comment.