Overview

Namespaces

  • Charcoal
    • Ui
      • Dashboard
      • Form
      • FormGroup
      • FormInput
      • Layout
      • Menu
      • MenuItem
      • ServiceProvider

Classes

  • AbstractDashboard
  • DashboardBuilder
  • DashboardConfig
  • FormInputConfig
  • GenericDashboard

Interfaces

  • DashboardInterface

Traits

  • DashboardTrait
  • Overview
  • Namespace
  • Class

Class DashboardBuilder

Dashboard Builder

Namespace: Charcoal\Ui\Dashboard
Located at Charcoal/Ui/Dashboard/DashboardBuilder.php
Methods summary
public
# __construct( Charcoal\Factory\FactoryInterface $factory, Pimple\Container $container )

Return a new dashboard builder.

Return a new dashboard builder.

Parameters

$factory
A dashboard factory.
$container
The DI container.
public Charcoal\Ui\Dashboard\DashboardInterface
# build( array|ArrayAccess $options )

Build and return a new dashboard.

Build and return a new dashboard.

Parameters

$options
The dashboard build options.

Returns

Charcoal\Ui\Dashboard\DashboardInterface
Constants summary
string DEFAULT_TYPE

The default, concrete, dashboard model.

The default, concrete, dashboard model.

Const

string
# 'charcoal/ui/dashboard/generic'
Properties summary
protected Charcoal\Factory\FactoryInterface $factory

Store the dashboard factory instance.

Store the dashboard factory instance.

#
protected Pimple\Container $container

Store the dependency-injection container to fulfill the required services.

Store the dependency-injection container to fulfill the required services.

#
API documentation generated by ApiGen