dev/con php base

Sven Klose

Abstract

Programming web-applications with the dev/con php base library.

$Id: manual.xml,v 1.43 2002/05/28 23:04:46 sven Exp $


Table of Contents

1. Introdution
Release notes
0.1.0
Contributors
2. Getting started
Requirements
Installation
3. Database interfaces
Using the dbctrl interface
More about the database interfaces
4. Generic cursor interfaces to secondary storage
Constructing and querying a cursor
5. Application base class
An example application
Initialisation
application () constructor
run ()
.dbi.conf.php file
init() in derived class
Member variable debug - debug mode
Member array raw_views - Mark views as raw.
Registering and invoking page functions
defaultview ()
Calling functions in a subsession
Subsession arguments
Batched function calls
Destruction
Token management
6. User interface
admin_panel () constructor
Static function instance ()
Opening and closing documents.
7. Toolkits for the user interface
Auto forms
tk_autoform_init ()
tk_autoform_create_widget ()
tk_autoform_create_form ()
tk_autoform_list_results ()
tk_autoform_list_search_results ()
List move
Range editor
tk_range_edit_select ()
tk_range_edit_call ()
tk_range_edit_all_selected ()
An example widget
Editor for records without references
tk_record_edit_init ()
tk_record_edit ()
dbi search
tk_dbisearch_init ()
form_dbisearch ()
File selector box
tk_fsb_init ()
tk_fsb ()
dbconf editor
tk_dbconf_init ()
tk_dbconf ()
Tree editor
Tree lister
tk_dbobj_ls_init ()
tk_dbobj_ls ()
HTML template toolkit
Tags
Extensions
8. Date functions
doomday ()
is_leap_year ()
day_of_year ()
day_of_week ()
9. File functions
magic2mime ()
htpasswd_read ()
10. HTTP functions
HTTP authentication
http_auth ()
11. Mail functions
check_email_addr ()
Sending emails with attachments
rfc2110_attachment ()
rfc2110_header ()
rfc2110_file ()
rfc2110_tail ()
rfc2110_boundary ()
12. Session management
dbsession constructor
define_tables ()
read_id ()
force_key ()
lock ()
destroy ()
key ()
id ()
get ()
set ()
set ()
set_timeout ()
13. String functions
germanlig2ascii ()
htmllig2latin ()
strhead ()
14. Template functions
quick_template ()
15. Widget sets
Using a widget set
widet_set() constructor
close ()
Text & paragraphs
print ()
paragraph ()
image ()
Form widgets
inputline ()
password ()
textarea ()
checkbox ()
radiobox ()
select ()
fileform ()
hidden ()
16. Known bugs
17. Wishlist