Sample: 3-column layout with add-new-record option

Three-Column layout with grouped tables and login/memberInfo widget

<?php

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

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

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

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

    $center->addTableWidget("customers");
    $center->addTableWidget("orders");
    $center->addTableSearchForm("orders");

echo $d;

?>