new: [element:bootstrapUI] To create HTML from BootrstrapHelper by using element

pull/121/head
Sami Mokaddem 2022-11-15 11:11:06 +01:00
parent a9e85a34d3
commit f5b946d5a9
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?php
if (!empty($element)) {
echo $this->Bootstrap->{$element}([
'text' => $text,
'variant' => $variant,
]);
}