module shop client

This commit is contained in:
apuc committed 2024-12-09 16:14:43 +03:00
1 parent cfbcb3609f
commit 38b6aa8860
8 files changed
+154 -23

No files matched your search

+6
View File
@@ -17,6 +17,12 @@ class Html
return "<h$type $paramsStr>$title</h$type>";
}
public static function a(string $link, array $params = []): string
{
$paramsStr = self::createParams($params);
return "<a href='$link' $paramsStr>";
}
/**
* @param array $data
* @return string