Source for file idfield.php
Documentation is available at idfield.php
* a textfield object designed to hold the database key (or id) field
* @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 'textfield.php';
* a textfield object designed to hold the database key (or id) field
* @subpackage FormsLibrary
* Create a new field object, designed to be superclasses
* @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 IdField($name, $longname=
'', $description=
'') {
parent::TextField($name, $longname, $description);
if ($this->value != -
1) {
Documentation generated on Tue, 06 Mar 2007 10:01:35 +0000 by phpDocumentor 1.3.0