Class Form

Description

Located in /classes/Form_class.php (line 4)


	
			
Variable Summary
mixed $cmd
mixed $exactType
mixed $formOutput
mixed $group
mixed $preload
mixed $template
mixed $type
mixed $ucType
mixed $unique
Method Summary
Form __construct ( $type,  $cmd)
array acquire_data ( $tbl, int $id, string $table:)
void prepare_data ()
Variables
mixed $cmd (line 17)
mixed $exactType (line 13)
mixed $formOutput (line 14)
mixed $group (line 10)
mixed $hostgroups_tploptions (line 15)
mixed $preload (line 12)
mixed $template (line 11)
mixed $type (line 9)
mixed $ucType (line 16)
mixed $unique (line 19)
Methods
Constructor __construct (line 29)

constructor:

establishes necessary properties to make decisions for object

Form __construct ( $type,  $cmd)
  • $type
  • $cmd
acquire_data (line 57)

Function acquire data: grabs the appropriate element data from the database. Used only for loaded forms

  • return: all SQL data in assoc array for object ID
array acquire_data ( $tbl, int $id, string $table:)
  • string $table:: sql data table
  • int $id: table row ID
  • $tbl
init_check_commands (line 271)
void init_check_commands ()
prepare_data (line 73)

prepares all acquired data for CCM form creation, assigns all data to $FIELDS array

void prepare_data ()

Documentation generated on Thu, 04 Aug 2011 14:15:15 -0500 by phpDocumentor 1.4.3