diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
commit | 5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch) | |
tree | 540afc30c51da085f5bd8ec3f4c89f6496e7900d /db2html.txi | |
parent | 8466d8cfa486fb30d1755c4261b781135083787b (diff) | |
download | slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip |
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'db2html.txi')
-rw-r--r-- | db2html.txi | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/db2html.txi b/db2html.txi index 3b47f31..6366f87 100644 --- a/db2html.txi +++ b/db2html.txi @@ -6,6 +6,7 @@ @end defun + @defun html:caption caption align @@ -13,14 +14,17 @@ @var{align} can be @samp{top} or @samp{bottom}. @end defun + @defun html:heading columns Outputs a heading row for the currently-started table. @end defun + @defun html:href-heading columns uris Outputs a heading row with column-names @var{columns} linked to URIs @var{uris}. @end defun + @defun html:linked-row-converter k foreigns @@ -32,20 +36,24 @@ foreign-key field pages and #f for non foreign-key fields. returned procedure returns the html string for that table row. @end defun + @defun table-name->filename table-name Returns the symbol @var{table-name} converted to a filename. @end defun + @defun table->linked-html caption db table-name match-key1 @dots{} -Returns HTML string for @var{db} table @var{table-name}. Every foreign-key value is -linked to the page (of the table) defining that key. +Returns HTML string for @var{db} table @var{table-name} chopped into 50-row HTML tables. +Every foreign-key value is linked to the page (of the table) +defining that key. The optional @var{match-key1} @dots{} arguments restrict actions to a subset of the table. @xref{Table Operations, match-key}. @end defun + @defun table->linked-page db table-name index-filename arg @dots{} Returns a complete HTML page. The string @var{index-filename} names the page which @@ -55,10 +63,12 @@ The optional @var{args} @dots{} arguments restrict actions to a subset of the table. @xref{Table Operations, match-key}. @end defun + @defun catalog->html db caption arg @dots{} Returns HTML string for the catalog table of @var{db}. @end defun + @subsection HTML editing tables @noindent A client can modify one row of an editable table at a time. @@ -113,6 +123,7 @@ Optional arguments @var{update}, @var{delete}, and @var{retrieve} default to the @code{row:delete}, and @code{row:retrieve} of @var{table-name} in @var{db}. @end defun + @defun command:make-editable-table rdb table-name arg @dots{} Given @var{table-name} in @var{rdb}, creates parameter and @code{*command*} tables for editing one row of @var{table-name} at a time. @code{command:make-editable-table} returns a procedure taking a @@ -132,6 +143,7 @@ have arity @samp{nary1}. @end table @end defun + @defun html:editable-row-converter k names edit-point edit-converter @@ -148,6 +160,7 @@ the primary key fields) of each row linked to a text encoding of these fields (the result of calling @code{row->anchor}). The page so referenced typically allows the user to edit fields of that row. @end defun + @subsection HTML databases @@ -162,6 +175,7 @@ top level page with the catalog of tables (captioned @var{caption}) is written to a file named @var{index-filename}. @end defun + @defun db->html-directory db dir index-filename @@ -176,6 +190,7 @@ top page, which defaults to @file{index.html}. returned. @end defun + @defun db->netscape db dir index-filename @@ -184,3 +199,4 @@ returned. @code{browse-url} with the uri for the top page after the pages are created. @end defun + |