Beispiel #1
0
$panel1->create();
$panel1->start();
$row1 = new RowPanel('row1');
$row1->create();
$row1->start();
$column1 = new ColumnPanel('column1', 6, 'md');
$column1->create();
$column1->start();
?>
<h1>This is a drop down list.</h1>
<?php 
$newddlSource = new DataSource('articles', null);
$ddlValues = $newddlSource->select();
$newddl = new DropDownList('test1', 'test2', 'test3', $ddlValues, "title", "id");
$newddl->create();
$newddl->display();
$column1->close();
$column2 = new ColumnPanel('column2', 6, 'md');
$column2->create();
$column2->start();
?>
<h1>This is a text box.</h1>
<?php 
$newTB = new TextBox('test1', 'test2', 'test3', 'test4');
$newTB->create();
$newTB->display();
$column2->close();
$row1->close();
$panel1->close();
?>