Title Widget

<?php

$d = new AppGiniHelper\UI\Dashboards\Dashboard();

list($left, $center, $right) = $d->create([4, 4, 4]); // three columns, 4/12 width each

// left
$left->addTitleWidget("My custom title (h1)",'h1 class="page-header"' );
$left->addTitleWidget("My subtitle (h2)","h2");
$left->addTitleWidget("My subtitle (h3)","h3");

$left->addTablesGroupedWidget()->allowInsert(true);

// right
if (getLoggedMemberID() != "guest")
    $right->addMemberInfoWidget("Benutzer");
else
    $right->addLoginWidget("Anmeldung")->compact(true);

echo $d;

Do you like it?