$translators
$translators : array
Base for admin page that manages a Frontend Model
$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
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 |
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 |