UncleCheese\Dashboard\DashboardHasManyRelationEditorItemRequest
Defines the {@link RequestHandler} object that handles an item belonging to the editor
- Author: Uncle Cheese <unclecheese@leftandmain.com>
Synopsis
class DashboardHasManyRelationEditorItemRequest
extends RequestHandler
{
- // members
- private static array $allowed_actions = ;
- protected Dashboard $dashboard;
- protected DashboardPanel $panel;
- protected DashboardHasManyRelationEditor $editor;
- protected DashboardPanelDataObject $item;
- private static array $url_handlers = ;
- // methods
- public void __construct()
- public DBHTMLText edit()
- public HTTPResponse delete()
- public string Link()
- public string RefreshLink()
- public Form DetailForm()
- public HTTPResponse saveDetail()
Hierarchy
Extends
- SilverStripe\Control\RequestHandler
Members
private
- $allowed_actions
- $url_handlers
protected
- $dashboard — UncleCheese\Dashboard\Dashboard
- $editor — UncleCheese\Dashboard\DashboardHasManyRelationEditor
- $item — UncleCheese\Dashboard\DashboardPanelDataObject
- $panel — UncleCheese\Dashboard\DashboardPanel
Methods
public
- __construct()
- DetailForm() — Provides a form to edit or create an object managed by the editor
- Link() — A link to this item as managed by the editor belonging to a dashboard panel
- RefreshLink() — A link to refresh the editor
- delete() — An action that handles the deletion of an object managed by the editor
- edit() — An action that handles the edit of an object managed by the editor
- saveDetail() — Saves the DetailForm and writes or creates a new object managed by the editor