Updates to 03-2025

This commit is contained in:
Kevin Adametz 2025-04-01 10:36:47 +02:00
parent bfa3bb1df4
commit 9ae662f63e
243 changed files with 12580 additions and 12018 deletions

View file

@ -1,5 +1,7 @@
<?php
use App\Services\AboHelper;
if (! function_exists('make_old_url')) {
function make_old_url($path)
{
@ -85,4 +87,22 @@ if (! function_exists('maxStrLength')) {
function maxStrLength($str, $lenght = 40)
{
return !$str ? $str : Util::maxStrLength($str, $lenght); }
}
if (! function_exists('get_abo_type_badge_by_product')) {
function get_abo_type_badge_by_product($product){
return AboHelper::getAboTypeBadge(AboHelper::getAboShowOn($product));
}
}
if (! function_exists('get_abo_type_badge')) {
function get_abo_type_badge($type){
return AboHelper::getAboTypeBadge($type);
}
}
if (! function_exists('cleanIntegerFromString')) {
function cleanIntegerFromString($value) {
return Util::cleanIntegerFromString($value);
}
}