File manager - Edit - /home/linknsbh/cecil-hotel.net/platform/packages/widget/helpers/helpers.php
Back
<?php use Botble\Widget\Facades\Widget; use Botble\Widget\Facades\WidgetGroup; use Botble\Widget\Factories\WidgetFactory; use Botble\Widget\WidgetGroupCollection; if (! function_exists('register_widget')) { function register_widget(string $widgetId): WidgetFactory { return Widget::registerWidget($widgetId); } } if (! function_exists('register_sidebar')) { function register_sidebar(array $args): WidgetGroupCollection { return WidgetGroup::setGroup($args); } } if (! function_exists('remove_sidebar')) { function remove_sidebar(string $sidebarId): WidgetGroupCollection { return WidgetGroup::removeGroup($sidebarId); } } if (! function_exists('dynamic_sidebar')) { function dynamic_sidebar(string $sidebarId): string { return WidgetGroup::render($sidebarId); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.22 |
proxy
|
phpinfo
|
Settings