Exemplo n.º 1
0
Arquivo: index.php Projeto: DBnR1/EDTB
$tabledit->primary_key = "id";
/** @var array fields_in_list_view the fields you want to see in "list view" */
$tabledit->fields_in_list_view = $output;
/** @var int num_rows_list_view numbers of rows/records in "list view" */
$tabledit->num_rows_list_view = 10;
/** @var array fields_required required fields in edit or add record */
//$tabledit->fields_required = array('name');
/** @var string url_base */
$tabledit->url_base = "Vendor/MySQL_table_edit/";
/** @var string url_script */
$tabledit->url_script = "/DataPoint";
/** @var array show_text */
$tabledit->show_text = $showt;
?>
    <div class="entries">
        <div class="entries_inner">
            <?php 
$tabledit->do_it();
?>
        </div>
    </div>
<?php 
/**
 * initiate page footer
 */
$footer = new Footer();
/**
 * display the footer
 */
$footer->display_footer();