Packageindex Classtrees Modulegroups Elementlist Report XML Files
a b C c d e E f F g H h i I K l L m M n N o p P Q q r s S t T u U v w W

a

acceptUpload Function in class CCFile
Accepts uploaded file
$abs_path Variable in Class CCFile
$attrs Variable in Class CMarkup
addControls Function in class CDBForm
Overrides parent method to provide the special functionality.
addControls Function in class CForm
Adds the list of controls.
addControl Function in class CForm
Adds the control.
addVars Function in class CForm
Adds vars from the specified array.
addSubmitCancel Function in class CForm
Adds SUBMIT/CANCEL buttons.
$action Variable in Class CForm
Form action. *
$agent Variable in Class CTextMenu
append Function in class CSnippet
Appends arbitrary field list to the snippet.

b

build Function in class CDBTabForm
Builds the control list
build Function in class CDBQueryForm
Builds the control list

C

CFormHandlerTabbed Class CFormHandlerTabbed.
Reference Implementation Of The Tabbed Form Handler.
CFormHandlerSimple Class CFormHandlerSimple.
Basic form handler.
CButton Class CButton.
Button control class.
CButton Function in class CButton
Construcs the button
CCFile Class CCFile.
The CForm control for file uploading.
CCFile Function in class CCFile
CGroup Class CGroup.
The cform group (of radio- or check-boxes) ccontrols.
CGroup Function in class CGroup
CSelect Class CSelect.
The form selection ccontrol.
CSelect Function in class CSelect
Constructor.
CTextarea Class CTextarea.
The cform textarea ccontrol.
CTextarea Function in class CTextarea
CControl Class CControl.
Basic form control class.
CControl Function in class CControl
Constructor.
CMarkup Class CMarkup.
Basic form markup class.
CMarkup Function in class CMarkup
Constructor.
CCalendar Class CCalendar.
Calendar class.
CCalendar Function in class CCalendar
CDBTabForm Class CDBTabForm.
Uses "show fields from table" statement
CDBTabForm Function in class CDBTabForm
Constructs the form.
CDBQueryForm Class CDBQueryForm.
Database query-driven form class.
CDBQueryForm Function in class CDBQueryForm
Constructs the form from the query.
CDBForm Class CDBForm.
Basic database-driven form class.
CForm Class CForm.
The main form class.
CForm Function in class CForm
Constructor.
CDBTemplateTable Class CDBTemplateTable.
The template-based table snippet class
CDBTemplateTable Function in class CDBTemplateTable
Constructs the table.
CDBTable Class CDBTable.
The basic html table snippet class
CDBTable Function in class CDBTable
Constructs the table:
CSplitBar Class CSplitBar.
The all-purpose class for programmatic pagination.
CSplitBar Function in class CSplitBar
Constructs the splitbar
CImageField Class CImageField.
The table field that provides scaled image representation.
CImageField Function in class CImageField
CField Class CField.
The table field class.
CField Function in class CField
Constructor.
CTextMenu Class CTextMenu.
The text menu class.
CTextMenu Function in class CTextMenu
Constructs the menu.
CSnippet Class CSnippet.
The root html snippet class.
CSnippet Function in class CSnippet
Constructs the snippet
CR Constant defined in module func
CRLF Constant defined in module func

c

$controls Variable in Class CForm
checked Function in module func
Check if box checked.
concat_nonempty Function in module func
Concatenates *non-empty* args with infix.
concat_nonempty_sql Function in module func
Concatenates *non-empty* args with infix
collect_fields Function in module func
collects form field values from
collect_fields_sql Function in module func
Collects fields to use in SQL-statement 'set' clause
check_db_error Function in module mysql
Checks if result of most recent query is successful.
check_db_error Function in module pgsql

d

doUploadFile Function in class CCFile
Performs the file uploading and database operation logic.
$do Variable in Class CCFile
The operation:
do_query_size Function in class CDBTable
Queries the dataset size.
do_query_page Function in class CDBTable
Queries the page.
defValue Function in module func
Returns value or default.
do_query Function in module mysql
Performs the db query and checks the errors.
do_query Function in module pgsql

e

end Function in class CFormHandlerTabbed
Use this to insert the form ending manually
end Function in class CFormHandlerSimple
Use this to insert the form ending manually
endControl Function in class CFormHandlerTabbed
Use this to insert the control ending manually
endControl Function in class CFormHandlerSimple
Use this to insert the control ending manually
endNoLabel Function in class CFormHandlerTabbed
Use this to insert the 'labeless' ending manually
endNoLabel Function in class CFormHandlerSimple
Use this to insert the 'labeless' ending manually
$empcell Variable in Class CCalendar
extract_fields_sql Function in module func
Extracts values from the array into global namespace.

E

$EDITBAR Variable in Class CDBTable

f

fetchValues Function in class CDBTabForm
Fetches controls' values from the query.
fetchValues Function in class CDBQueryForm
Fetches controls' values from the query.
fetch_fields Function in class CDBTable
Fetches the field set (meta-info)
flush Function in class CSnippet
Just flushes the output buffer by default.
func Module func.
fetch_query Function in module mysql
Fetches recordset as an array.
fetch_query Function in module pgsql
useful to fetch *small* recordset only!
free_result Function in module mysql
Disposes the recordset.
free_result Function in module pgsql
fetch_record Function in module mysql
Fetches next record as a hash.
fetch_record Function in module pgsql
fetch_object Function in module mysql
Fetches next record as a object.
fetch_object Function in module pgsql
fetch_field Function in module mysql
Fetches field metainfo.
fetch_field Function in module pgsql

F

$FORMFILE Variable in Class CDBTable
Script file that provides the record editing functionality.
$FIELD_DESCR Variable in Class CDBTable

g

getValue Function in class CControl
Returns control's value.
getValue Function in class CForm
Returns value from the specified control.
$groupSizeThreshold Variable in Class CDBTabForm
If the group items count exceeds this value
$groupLenThreshold Variable in Class CDBTabForm
If summary group items length exceeds this value
get_infield Function in class CDBForm
Take control from input list
getAgent Function in class CTextMenu
Use it to override default (not very smart :) user agent detection.
getGlobal Function in class CSnippet
Returns the value from global namespace or default

H

$HEADER Variable in Class CDBTemplateTable

h

$height Variable in Class CImageField
The image area height. *

i

inValue Function in class CControl
Control's value to input to form.
inValue Function in class CForm
Control's value to input to form.
identify Function in class CDBTable
Returns http query string that identifies the dataset row.
$items Variable in Class CTextMenu
$id Variable in Class CSnippet
Id allows distinguish the CSnippet's instances on the page
input_check Function in module func
Checks if specified variable is set.

I

$INSBAR Variable in Class CDBTable
$ITEM Variable in Class CTextMenu
Use it to specify the name of global variable that tracks current item. *
ImgScale Function in module func
Calculates scaled dimensions for the specified image.

K

K Constant defined in module func

l

logvars Module logvars.
Just include it to log miscellaneous vars.
log_message Function in module func
Logs specified message to PROJECT_LOG_FILE if defined.

L

LF Constant defined in module func

m

$multiple Variable in Class CSelect
If multiple === "auto" then 'multiple' tag attribute is generated automatically.
$monthdays Variable in Class CCalendar
$mode Variable in Class CForm
Form mode.
$method Variable in Class CForm
Form method.
mysql Module mysql.
DB interface module to MySQL.

M

MAX_FIELD_LENGTH Constant defined in class CDBForm
M Constant defined in module func

n

$nodata Variable in Class CControl
Specifies that it's not a data control.
$nodata Variable in Class CMarkup

N

NO_INDEX Constant defined in class CForm
NULL Constant defined in module func

o

outValue Function in class CCFile
Control's value to output from the form.
outValue Function in class CControl
Control's value to output from the form.
outValue Function in class CForm
Control's value to output from the form.
$options Variable in Class CSelect
Specify options as
outValues Function in class CForm
Collects output values of the form.

p

process_specially Function in class CDBQueryForm
Provide custom output (to be setList'ed) value processing.
process_specially Function in class CDBTable
Performs the custom processing of field value.
process Function in class CImageField
Special processing for image fields. *
process Function in class CField
Processes the value.
phpx_assert Function in module func
PHP/Toolbox custom assertion check routine.
phpx_abort Function in module func
Logs the message and dies with it
phpx_debug Function in module func
Prints the variable data.
phpx_urlencode Function in module func
Adds/replaces key=>value pairs to/in http-query strings.
pgsql Module pgsql.
DB interface module to PostgreSQL.

P

$PAGESIZE Variable in Class CSplitBar
$PGOFFS Variable in Class CSplitBar
$PAGECOUNT Variable in Class CSplitBar
PHPXFUNC Constant defined in module func
PROJECT_LOG_FILE Constant defined in module func
PGSQL_RESULT_ROW Constant defined in module pgsql
Current result row
PHP/Toolbox::Form Package
PHP/Toolbox Package
PHP/Toolbox::Table Package
PHP/Toolbox::DEBUG Package

Q

$QUERY Variable in Class CDBTable

q

qualify Function in class CSnippet
Qualifies input name by snippet id.
query_string Function in module func
Adds/replaces key=>value pairs in $QUERY_STRING

r

render Function in class CButton
render Function in class CCFile
Main rendering method.
render Function in class CGroup
Main rendering method.
render Function in class CSelect
Main rendering method.
render Function in class CTextarea
Main rendering method.
render Function in class CControl
Main rendering method.
render Function in class CMarkup
render Function in class CCalendar
render Function in class CForm
Main rendering method.
render Function in class CDBTemplateTable
Main rendering method.
render Function in class CDBTable
Main rendering method.
render Function in class CSplitBar
Main rendering method.
render Function in class CTextMenu
Renders the menu.
renderReadonly Function in class CCFile
Readonly rendering method.
renderReadonly Function in class CSelect
Readonly rendering method.
renderReadonly Function in class CControl
Readonly rendering method.
renderReadonly Function in class CMarkup
render_month Function in class CCalendar
Renders specified month.
renderStart Function in class CForm
Use this to insert the form caption manually
renderEnd Function in class CForm
Use this to insert the form ending manually
renderControl Function in class CForm
Use this to insert controls manually
renderStartControl Function in class CForm
Use this to insert the control prefix (e.g. label) manually
renderEndControl Function in class CForm
Use this to insert the control ending manually
render_item Function in class CTextMenu
Returns the item.
render_item_msie Function in class CTextMenu
Renders the item for MSIE.
render_item_ Function in class CTextMenu
Renders the item for NN.
rset_rows Function in module mysql
Returns row number from recordset.
rset_rows Function in module pgsql

s

start Function in class CFormHandlerTabbed
Use this to insert the form caption manually
start Function in class CFormHandlerSimple
Use this to insert the form caption manually
startControl Function in class CFormHandlerTabbed
Use this to insert the control prefix (e.g. label) manually
startControl Function in class CFormHandlerSimple
Use this to insert the control prefix (e.g. label) manually
startNoLabel Function in class CFormHandlerTabbed
Use this to insert the 'labeless' starting manually
startNoLabel Function in class CFormHandlerSimple
Use this to insert the 'labeless' starting manually
$suffix Variable in Class CGroup
The html-formatting suffix of the group's item.
$sizeThreshold Variable in Class CSelect
??? *
setList Function in class CDBTabForm
Constructs the SQL 'set' clause list with the fields that
setList Function in class CDBForm
Constructs the SQL 'set' clause list with the fields that
$sql Variable in Class CDBQueryForm
setup_infield Function in class CDBForm
Sets up the control (infield) by providing it with:
set_lookup_options Function in class CDBForm
Sets up the lookup data to specified infield.
setMode Function in class CForm
Sets the form mode.
subst_globals Function in class CSplitBar
Override it to provide custom template substitution.
$size Variable in Class CImageField
If it is set image is fitted to square area
setGlobal Function in class CSnippet
Sets the value to global namespace variable.
selected Function in module func
Check if option selected.
set_if_empty Function in module func
Sets the value to array item or object field if they are not set yet.
substitute Function in module func
substitutes subs/str or key=>value pairs in string
show_tables_like Function in module mysql
Returns array of database table names matching to wildcard.
show_tables_like Function in module pgsql
sql_crypt Function in module mysql
Database-specific crypt function. *
sql_crypt Function in module pgsql
Database-specific crypt function. *
set_defaults Module set_defaults.
Use it to extract default values from $DEFAULTS array.

S

$SORTING Variable in Class CDBTable
$SPLITBAR Variable in Class CSplitBar
SmartViewer Function in module func
Creates text 'button' to open child window

t

$type Variable in Class CButton
$type Variable in Class CCFile
$type Variable in Class CGroup
$type Variable in Class CSelect
$type Variable in Class CTextarea
$type Variable in Class CControl
$table Variable in Class CDBTabForm

T

$TOTROWS Variable in Class CSplitBar

u

$upload_dir Variable in Class CCFile

U

UniqIdent Function in module func
returns 18-xdigit fair unique string

v

validateValue Function in class CControl
Verifies the control's data.
validateValue Function in class CForm
Use this to override the data verification on the form level,
validateValues Function in class CForm
Use this to validate form data.

w

write Function in class CMarkup
Just 'echoes' the string by default.
write Function in class CForm
Just 'echoes' the string by default.
write Function in class CSnippet
Just 'echoes' the string by default.
$weekdays Variable in Class CCalendar
$width Variable in Class CImageField
The image area width. *
writeCode Function in class CSnippet

W

WWW_Authenticate Function in module func
Forces basic authentication procedure.
Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta