* * This program and files/directory inner it is free software: you can * redistribute it and/or modify it under the terms of the * GNU Affero General Public License (AGPL) as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AGPL for more details. * * You should have received a copy of the GNU AGPL * along with this program. If not, see . */ $res=0; if (! $res && file_exists("../../main.inc.php")) { $res=@include '../../main.inc.php'; } if (! $res && file_exists("../../../main.inc.php")) { $res=@include '../../../main.inc.php'; } if (! $res && file_exists("../../../../main.inc.php")) { $res=@include '../../../../main.inc.php'; } // Protection if external user if ($user->socid > 0) { accessforbidden(); } // Includes dol_include_once('admin/tools/ui/class/documentation.class.php'); // Load documentation translations $langs->load('uxdocumentation'); // Hooks $hookmanager->initHooks(array('uidocumentation')); // $documentation = new Documentation($db); // Output html head + body - Param is Title $documentation->docHeader('Tables'); // Set view for menu and breadcrumb // Menu must be set in constructor of documentation class $documentation->view = array('Content','Tables'); // Output sidebar $documentation->showSidebar(); ?>
showBreadCrumb(); ?>

trans('DocTableTitle'); ?>

trans('DocTableMainDescription'); ?>

showSummary(); ?>

trans('DocTableBasic'); ?>

trans('DocTableBasicDescription'); ?>

First Name Last Name Age Country
John Doe 37 U.S.A
Jack Sparrow 29 Caribbean
Sacha Ketchum 16 Kanto
Albert Einstein 72 Germany
showCode($lines); ?>

trans('DocTableWithFilters'); ?>

trans('DocTableWithFiltersDescription'); ?>

First Name Last Name Age Country
John Doe 37 U.S.A
Jack Sparrow 29 Caribbean
Sacha Ketchum 16 Kanto
Albert Einstein 72 Germany
showCode($lines); ?>
docFooter(); ?>