Source for file dummyfield.php
Documentation is available at dummyfield.php
* a dummy field does not exist in the database but stores data in the form
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @subpackage FormsLibrary
/** Load ancillary functions */
require_once 'inc/typeinfo.php';
require_once 'field.php';
* a dummy field does not exist in the database but stores data in the form
* @subpackage FormsLibrary
* Create a new dummy field
* @param string $name the name of the field (db name, and html field name
* @param string $longname long name to be used in the label of the field in display
* @param string $description used in the html title or longdesc for the field
function DummyField($name, $longname=
"", $description=
"") {
parent::Field($name, $longname, $description);
$t =
"<input type='hidden' name='{$this->namebase}{
$this->name}'
"
."value='".xssqw($this->value).
"' />";
function sqlSetStr($name='', $force=false) {
Documentation generated on Tue, 06 Mar 2007 10:01:23 +0000 by phpDocumentor 1.3.0