kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Procedural File: simple_form_functions_lib.php

Source Location: d:\website\PhpDocumentor\/kernel/simple_form_functions_lib.php



Page Details:



Tags:

filesource:  Source Code for this file
version:  $Header: /cvsroot/bitweaver/_bit_kernel/simple_form_functions_lib.php,v 1.9 2006/03/01 20:16:13 spiderr Exp $








byref_set_value [line 76]

none byref_set_value( $pFeature $pFeature, [$pPackageName $pPref = ""], [ $pPackageName = NULL])

Store or update a value in the database but assign it by reference to smarty - automatically collects data from $_REQUEST[$pFeature]



Parameters

$pFeature   $pFeature   name of the parameter to be set in the database
$pPackageName   $pPref   name of the package the feature belongs to
   $pPackageName  
[ Top ]



set_tab [line 97]

set_tab( )

simple function used to work out what tab was pressed and activates the correct tab after reload

use with <tabname>TabSubmit as the name of the submit button value and set your tabpage class like this <div class="tabpage {$<tabname>TabSelect}">




Tags:

return:  that was submitted


[ Top ]



simple_set_int [line 62]

none simple_set_int( $pFeature $pFeature, [$pPackageName $pPackageName = NULL])

Store or update an integer in the database - automatically collects data from $_REQUEST[$pFeature]



Parameters

$pFeature   $pFeature   name of the parameter to be set in the database
$pPackageName   $pPackageName   name of the package the feature belongs to
[ Top ]



simple_set_toggle [line 14]

none simple_set_toggle( $pFeature $pFeature, [$pPackageName $pPackageName = NULL])

Store or update a boolean value in the database - automatically collects data from $_REQUEST[$pFeature]



Parameters

$pFeature   $pFeature   name of the parameter to be set in the database
$pPackageName   $pPackageName   name of the package the feature belongs to
[ Top ]



simple_set_value [line 48]

none simple_set_value( $pFeature $pFeature, [$pPackageName $pPackageName = NULL])

Store or update a value in the database - automatically collects data from $_REQUEST[$pFeature]



Parameters

$pFeature   $pFeature   name of the parameter to be set in the database
$pPackageName   $pPackageName   name of the package the feature belongs to
[ Top ]



toggle_preference [line 29]

none toggle_preference( $pName $pName, [$pValue $pValue = NULL], [$pPackageName $pPackageName = NULL])

Store or update a boolean value in the database



Parameters

$pName   $pName   name of the parameter to be set in the database
$pValue   $pValue   set $pName to $pValue in kernel_prefs
$pPackageName   $pPackageName   name of the package the feature belongs to
[ Top ]



Documentation generated on Thu, 15 Feb 2007 20:48:43 +0000 by phpDocumentor 1.3.0