<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title /><meta name="generator" content="StarOffice/OpenOffice.org XSLT (http://xml.openoffice.org/sx2ml)" /><meta name="created" content="2005-10-26T13:12:06" /><meta name="changedby" content="Jurjen Stellingwerff" /><meta name="changed" content="2006-03-19T16:40:01" /><base href="." /><style type="text/css">
@page { size: 21.006cm 29.693cm; margin-top: 1.524cm; margin-bottom: 1.016cm; margin-left: 1.016cm; margin-right: 1.016cm }
table { border-collapse:collapse; border-spacing:0; empty-cells:show }
td, th { vertical-align:top; }
h1, h2, h3, h4, h5, h6 { clear:both }
ol, ul { padding:0; }
* { margin:0; }
*.Heading { font-family:'DejaVu Sans'; font-size:14pt; margin-left:2.794cm; margin-right:0cm; margin-top:0.423cm; margin-bottom:0.212cm; text-indent:-2.794cm; background-color:transparent; }
*.Heading1 { font-family:'DejaVu Sans'; font-size:115%; margin-left:2.794cm; margin-right:0cm; margin-top:0.423cm; margin-bottom:0.212cm; text-indent:-2.794cm; background-color:transparent; font-weight:bold; }
*.Heading2 { font-family:'DejaVu Sans'; font-size:14pt; margin-left:2.794cm; margin-right:0cm; margin-top:0.423cm; margin-bottom:0.212cm; text-indent:-2.794cm; background-color:transparent; font-style:italic; font-weight:bold; }
*.ListContents { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:1cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.356cm; text-indent:-2.794cm; background-color:transparent; }
*.P1 { font-family:'DejaVu Sans'; font-size:115%; margin-left:0cm; margin-right:0cm; margin-top:0.423cm; margin-bottom:0.212cm; text-indent:0cm; background-color:transparent; font-weight:bold; }
*.P2 { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:0cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.212cm; text-indent:0cm; background-color:transparent; }
*.P3 { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:0cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.356cm; text-indent:0cm; background-color:transparent; }
*.P4 { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:0cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.212cm; text-indent:0cm; background-color:transparent; }
*.P5 { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:0cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.212cm; text-indent:0cm; background-color:transparent; font-style:normal; }
*.Standard { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:2.794cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.356cm; text-indent:-2.794cm; background-color:transparent; }
*.TableContents { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:2.794cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.356cm; text-indent:-2.794cm; background-color:transparent; }
*.TableHeading { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:2.794cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.356cm; text-indent:-2.794cm; background-color:transparent; text-align:center ! important; font-style:italic; font-weight:bold; }
*.Textbody { font-family:'Bitstream Vera Sans'; font-size:9pt; margin-left:2.794cm; margin-right:0cm; margin-top:0cm; margin-bottom:0.212cm; text-indent:-2.794cm; background-color:transparent; }
*.Table1 { width:18.974cm; margin-left:0cm; margin-right:0cm; float:none; }
*.Table2 { width:18.974cm; float:none; }
*.Table1A1 { padding:0.041cm; border-left-style:none; border-right-style:none; border-top-width:0.035cm; border-top-style:solid; border-top-color:#000000; border-bottom-width:0.035cm; border-bottom-style:solid; border-bottom-color:#000000; }
*.Table1A2 { padding:0.041cm; border-style:none; }
*.Table1A4 { padding:0.041cm; border-left-style:none; border-right-style:none; border-top-style:none; border-bottom-width:0.035cm; border-bottom-style:solid; border-bottom-color:#000000; }
*.Table2A1 { padding:0.041cm; border-style:none; }
*.Table1A { width:3.073cm; }
*.Table1B { width:15.9cm; }
*.Table2A { width:2.535cm; }
*.Table2B { width:16.439cm; }
*.Table11 { }
*.BulletSymbols { font-family:StarSymbol; font-size:9pt; }
*.EndnoteSymbol { }
*.FootnoteSymbol { }
*.Internetlink { color:#000080; text-decoration:underline; }
*.T1 { font-weight:bold; }
*.T2 { font-style:italic; }
*.T3 { text-decoration:underline; }
*.T4 { font-weight:bold; }
*.T5 { font-style:normal; font-weight:bold; }
*.VisitedInternetLink { color:#800000; text-decoration:underline; }
</style></head><body dir="ltr"><h1 class="P1"><a name="Database-tables_used_in_php-pagebuilder" />Database-tables used in php-pagebuilder</h1><p class="P2">This is a list of used tables in php-pagebuilder. Field-names are used all over the source code so it is vital to have a short list of them at hand when writing or debugging code. </p><div style="text-align:left"><table border="0" cellspacing="0" cellpadding="0" class="Table1"><colgroup><col width="134" /><col width="695" /></colgroup><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A1"><p class="P3"><span class="T1">database</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A1"><p class="P3"><span class="T1">DatabaseID</span>, DatabaseName, ApplicationName, OutputLocation, Select=<span class="T2">true/false</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">tables</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">TableID</span>, DatabaseID, TableName, Subject, Title, <span class="T3">Header</span>, IDfield, Link, Include=<span class="T2">true/false</span>, <span class="T3">Checks</span>, <span class="T3">Session</span>, ScreenHeight, ScreenWidth, <span class="T3">ListOrderByField</span>, Comment, ListOrderByAscDec=<span class="T2">ASC/DESC</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">fields</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">FieldID</span>, TableID, Name, FieldName, DisplayName, Help, Type=<span class="T2">int/enum/text/varchar/date/datetime/time/html/ordering</span>, SessionVar, AreaHeight, AreaWidth, DisplayLength, Record=<span class="T2">left/right/front/none/edit</span>, List=<span class="T2">true/false</span>, ListWidth, Add=<span class="T2">true/false</span>, Edit=<span class="T2">true/false/show</span>, <span class="T3">LookupTable</span>, <span class="T3">OrderByField</span>, LookupIDField, <span class="T3">LookupDisplayField</span>, !Order, <span class="T3">default</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A4"><p class="P3"><span class="T1">actions</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A4"><p class="P3"><span class="T4">TableID</span>, <span class="T5">ActionID</span>, Action=<span class="T2">show/add/edit/remove</span>, Part=<span class="T2">session/allow/complete/header/footer</span>, <span class="T3">Code</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">screen</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">screen</span>, DatabaseID, name, title, class</p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A4"><p class="P3"><span class="T1">part</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A4"><p class="P3"><span class="T1">part</span>, <span class="T1">screen</span>, !order, type=<span class="T2">icon/link/script/record/edit/list/html</span>, title, table, link, <span class="T3">code</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">sheet</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">SheetID</span>, DatabaseID, Name, SheetTable, <span class="T3">Code</span>, <span class="T3">Ordering</span>, <span class="T3">Restrictions</span>, <span class="T3">Link</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A4"><p class="P3"><span class="T1">column</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A4"><p class="P3"><span class="T1">ColumnID</span>, SheetID, DatabaseID, Name, Size, Type=<span class="T2">date/datemin/datemax/number/select/char/text</span>, TableName, <span class="T3">Calculation</span>, !Sort</p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">user</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">user</span>, <span class="T1">username</span>, password, special=<span class="T2">none/admin/sysadmin</span>, type=<span class="T2">user/group/both/cancelled</span></p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">user_field</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">user_field</span>, <span class="T1">user</span>, right=<span class="T2">hide/readonly</span>, field</p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">user_part</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">user_part</span>, <span class="T1">user</span>, right=<span class="T2">show/edit/add/delete/listall/filter</span>, part</p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A2"><p class="P3"><span class="T1">user_rights</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A2"><p class="P3"><span class="T1">user_rights</span>, <span class="T1">user</span>, right</p></td></tr><tr class="Table11"><td style="text-align:left;width:3.073cm; " class="Table1A4"><p class="P3"><span class="T1">user_selection</span>:</p></td><td style="text-align:left;width:15.9cm; " class="Table1A4"><p class="P3"><span class="T1">user_selection</span>, <span class="T1">user</span>, field, value</p></td></tr></table></div><p class="P3"> </p><p class="P2">Used layout: </p><div style="text-align:left"><table border="0" cellspacing="0" cellpadding="0" class="Table2"><colgroup><col width="111" /><col width="718" /></colgroup><tr><td style="text-align:left;width:2.535cm; " class="Table2A1"><p class="P4">- bold </p></td><td style="text-align:left;width:16.439cm; " class="Table2A1"><p class="P4">key field </p></td></tr><tr><td style="text-align:left;width:2.535cm; " class="Table2A1"><p class="P4">- ! </p></td><td style="text-align:left;width:16.439cm; " class="Table2A1"><p class="P4">ordering number, used to sort records </p></td></tr><tr><td style="text-align:left;width:2.535cm; " class="Table2A1"><p class="P4">- =<span class="T2">v1/v2</span></p></td><td style="text-align:left;width:16.439cm; " class="Table2A1"><p class="P5">possible values in enumerate field </p></td></tr><tr><td style="text-align:left;width:2.535cm; " class="Table2A1"><p class="P5">- underline </p></td><td style="text-align:left;width:16.439cm; " class="Table2A1"><p class="P5">text field </p></td></tr></table></div><p class="P5"> </p><p class="P5">When a field-name is the same as the table name this is the primary key and often also a auto-numeric field. </p><p class="P5"> </p></body></html>