PhpLabWare version 0.3 

Directory: /plugins/

ipnumbers_plugin.php

Author(s): (none)

(no description)

75 lines [source]

Not referenced by any other file

Defines the following functions:



Function Guide

plugin_check_data($db,&$fieldvalues,$table_desc,$modify=false)   X-Ref
Change/calculate/check values just before they are added/modified
$fieldvalues is an array with the column names as key.
Any changes you make in the values of $fieldvalues will result in
changes in the database.
You could, for instance, calculate a value of a field based on other fields


plugin_search($query,$fieldvalues,$existing_clause)   X-Ref
Extends the search query
$query is the complete query that you can change and must return
$fieldvalues is an array with the column names as key.
if there is an $existing_clause (boolean) you should prepend your additions
with ' AND' or ' OR', otherwise you should not


plugin_getvalues($db,&$allfields,$id)   X-Ref
Extends function getvalues
$allfields is a 2-D array containing the field names of the table in the first dimension
and name,columnid,label,datatype,display_table,display_record,ass_t,ass_column,
ass_local_key,required,modifiable,text,values in the 2nd D




Generated: Sun Oct 5 21:17:35 2003 SourceForge Logo Generated by PHPXref 0.2