- Added documentation, fixed some bugs and optimized some parts of the source code while doing the doc.

This commit is contained in:
mcndave committed 2022-12-22 14:34:37 +00:00
1 parent 9190987b53
commit 3986437800
33 files changed
+431 -16

No files matched your search

+2 -2
View File
@@ -22,9 +22,9 @@ class UiPopup extends UiElement implements Extension {
return "<?php echo 'ui-popup=\"' . ( new \\" . static::class . "() )->buildAttributes($arguments) . '\"' ?>";
}
public function buildAttributes(string $name, array $variables = [], $options = []) : string
public function buildAttributes(string $name, array $variables = [], array $options = []) : string
{
return htmlentities(json_encode([ "name" => $name, "vars" => $variables, "options" => $options ], JSON_HEX_APOS | JSON_HEX_QUOT), ENT_QUOTES, 'UTF-8');
return htmlentities(json_encode([ "name" => $name, "vars" => $variables, "options" => $options ], JSON_HEX_APOS | JSON_HEX_QUOT), \ENT_QUOTES, 'UTF-8');
}
}