File: Toolbox.php
Source Location: /DBA_Relational-0.2.0/Toolbox.php
Classes:
Page Details:
Includes:
dbaToQuickform [line 34]
void dbaToQuickform(
&$form, $schema, $auxMeta)
|
|
Insert widgets into a quickform object suitable for updating a row in a DBA table.
Parameters
formatHtmlTable [line 196]
string formatHtmlTable(
array $rows, [array $fields = null])
|
|
Generates an HTML table from a results set This function uses custom CSS classes to define the table style. A recommended CSS is as follows: .dbatable { border: solid; border-color: gray; border-collapse: collapse; } .dbatablefield { font-weight: bold; text-align: center; color: black; background-color: #CCCCFF; border: solid; border-color: gray; border-width: thin; } .dbatablerow0 { font-weight: normal; color: black; background-color: #FFFFFF; border: solid; border-color: gray; border-width: thin; } .dbatablerow1 { font-weight: normal; color: black; background-color: #F4F4F4; border: solid; border-color: gray; border-width: thin; }
Parameters
array |
$rows |
|
array |
$fields |
list of fields to display |
formatTextTable [line 104]
string formatTextTable(
array $rows, [array $fields = null], [string $style = 'oracle'])
|
|
Generates a text table from a results set, a-la MySQL
Parameters
array |
$rows |
|
array |
$fields |
list of fields to display |
string |
$style |
style to display table in; 'oracle', 'mysql' |
quickformToDBA [line 81]
array quickformToDBA(
$schema, $auxMeta)
|
|
Postprocess $_POST variables that were left by a form using addQuickformDBA
Parameters
Documentation generated on Mon, 11 Mar 2019 14:59:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|