Class DummyField

Description

a dummy field does not exist in the database but stores data in the form

Located in /inc/formslib/dummyfield.php (line 26)

Field
   |
   --DummyField
Method Summary
DummyField DummyField (string $name, [string $longname = ""], [string $description = ""])
void displayInTable ([ $cols = 3])
void isValid ()
void set ( $value)
void sqlSetStr ([ $name = ''], [ $force = false])
void update ( $data)
Variables
Methods
Constructor DummyField (line 35)

Create a new dummy field

DummyField DummyField (string $name, [string $longname = ""], [string $description = ""])
  • string $name: the name of the field (db name, and html field name
  • string $longname: long name to be used in the label of the field in display
  • string $description: used in the html title or longdesc for the field
displayInTable (line 39)
void displayInTable ([ $cols = 3])
  • $cols

Redefinition of:
Field::displayInTable()
render this form widget in an html table
isValid (line 49)
void isValid ()

Redefinition of:
Field::isValid()
Check the validity of the current data value.
set (line 53)
void set ( $value)
  • $value

Redefinition of:
Field::set()
set the value of this field
sqlSetStr (line 56)
void sqlSetStr ([ $name = ''], [ $force = false])
  • $name
  • $force

Redefinition of:
Field::sqlSetStr()
create an SQL-injection-cleansed string for db statements
update (line 45)
void update ( $data)
  • $data

Redefinition of:
Field::update()
update the value of the object with the user-supplied data in $data

Inherited Methods

Inherited From Field

Field::Field()
Field::display()
Field::displayInTable()
Field::getValue()
Field::hidden()
Field::isValid()
Field::log()
Field::selectable()
Field::selectedValue()
Field::set()
Field::setattr()
Field::setEditable()
Field::setNamebase()
Field::sqlSetStr()
Field::text_dump()
Field::update()
Field::__clone()

Documentation generated on Tue, 06 Mar 2007 10:01:23 +0000 by phpDocumentor 1.3.0