Jet\UI_dialog
Dialog Renderer - modal window. It inherits from Jet\UI_Renderer_Pair.
Compared to the normal pair element (which has a beginning and an end), it also has a separator for the footer of the dialog - the area intended for buttons.
The default view implementation is again using Boostrap, but again, this is not dogma.
Predefined sizes
Constanta | Value |
---|---|
UI_dialog::SIZE_SMALL | small |
UI_dialog::SIZE_DEFAULT | default |
UI_dialog::SIZE_LARGE | large |
UI_dialog::SIZE_EXTRA_LARGE | extra_large |
Overview of methods
Method | Meaning of |
---|---|
public __construct( string $id, string $title, string $size=UI_dialog::SIZE_DEFAULT ) |
Parameters:
|
public getViewScriptFooter( ) : string |
Returns the name of the view script that is responsible for the footer separator. |
public setViewScriptFooter( string $view_script_footer ) : void |
Sets the name of the view script that is responsible for the footer separator. |
public getTitle( ) : string |
Returns the set dialog title |
public getSize( ) : string |
Returns the set dialog size |
public footer( ) : string |
Renders the footer separator |