$translators
$translators : array
"Blocks" Admin Page
$translators : array
$objectInstance : \App\Base\Abstracts\Models\BaseModel|null
$admin_action_log_data : array|null
$template_data : array
$page_title : string
$locale : string
$current_user_model : \App\Site\Models\User
$action_buttons : array
$current_user : array
$route_info : \App\Site\Routing\RouteInfo
__construct(\Psr\Container\ContainerInterface $container, \Symfony\Component\HttpFoundation\Request|null $request, \App\Site\Routing\RouteInfo $route_info) : mixed
{@inheritdocs}
\Psr\Container\ContainerInterface | $container | |
\Symfony\Component\HttpFoundation\Request|null | $request | |
\App\Site\Routing\RouteInfo | $route_info |
getFrontendModelButton(\App\Base\Abstracts\Models\FrontendModel $object, string $class = 'light', string $icon = 'zoom-in') : string
gets "to frontend" button html
\App\Base\Abstracts\Models\FrontendModel | $object | |
string | $class | |
string | $icon |
getFormDefinition(\Degami\PHPFormsApi\Form $form, array $form_state) : \Degami\PHPFormsApi\Form
{@inheritdocs}
\Degami\PHPFormsApi\Form | $form | |
array | $form_state |
renderPage(\App\Site\Routing\RouteInfo|null $route_info = null, array $route_data = []) : \Symfony\Component\HttpFoundation\Response|self
controller entrypoint
\App\Site\Routing\RouteInfo|null | $route_info | |
array | $route_data |
addFrontendFormElements(\Degami\PHPFormsApi\Form $form, $form_state, string[] $form_elements = ['url', 'website_id', 'locale']) : \Degami\PHPFormsApi\Form
adds frontend elements to form
\Degami\PHPFormsApi\Form | $form | |
$form_state | ||
string[] | $form_elements |
fillConfirmationForm(string $confirm_message, \Degami\PHPFormsApi\Form $form, string|null $cancel_url = null) : \Degami\PHPFormsApi\Form
gets a form for confirmation
string | $confirm_message | |
\Degami\PHPFormsApi\Form | $form | |
string|null | $cancel_url |