module shop

This commit is contained in:
2024-12-04 15:36:11 +03:00
parent 0a76920800
commit 0671346ce8
6 changed files with 86 additions and 13 deletions

View File

@ -11,6 +11,12 @@ class Html
return "<img src='$src' $paramsStr>";
}
public static function h(string|int $type = 1, string $title = '', array $params = [])
{
$paramsStr = self::createParams($params);
return "<h$type $paramsStr>$title</h$type>";
}
/**
* @param array $data
* @return string