Skip to content

Commit

Permalink
deprecated functions now used from new location Functions::
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Mar 19, 2024
1 parent e9a37fc commit c8b24b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/AbraFlexi/RO.php
Original file line number Diff line number Diff line change
Expand Up @@ -1484,11 +1484,11 @@ public function getFlexiData(string $suffix = '', $conditions = null)
$this->setEvidence($conditions['evidence']);
unset($conditions['evidence']);
}
$conditions = $this->flexiUrl($conditions);
$conditions = Functions::flexiUrl($conditions);
}

if (strlen($conditions) && ($conditions[0] != '/')) {
$conditions = '(' . self::urlEncode($conditions) . ')';
$conditions = '(' . Functions::urlEncode($conditions) . ')';
}
}

Expand All @@ -1497,7 +1497,7 @@ public function getFlexiData(string $suffix = '', $conditions = null)
$finalUrl = $suffix;
} else {
if (preg_match('/^(code|ext):(.*)/', $suffix)) {
$finalUrl = self::urlizeId($suffix);
$finalUrl = Functions::urlizeId($suffix);
} else {
$finalUrl = $suffix;
}
Expand Down Expand Up @@ -1757,7 +1757,6 @@ public function recordExists($data = [])
$ignorestate = $this->ignore404();
$this->ignore404(true);
if(is_string($data) && preg_match('/^code:/', $data)){
$data = \AbraFlexi\Functions::uncode($data);
$keyColumn = 'kod';
} else {
$keyColumn = $this->getKeyColumn();
Expand Down

0 comments on commit c8b24b7

Please sign in to comment.