Class Option

ModuleBase
   |
   +----Option

Located in File: Program_Root/module.inc.php


Option object
 This class represents a field that is used in a form. The option can be
 created in a module and at the execution of the module it checks the
 existence and the value of the option.
 

Class Variable Summary
$aliases
Default Value: -><-
$regexp
Default Value: -><-
$required
Default Value: -><-
$default
Default Value: -><-
$value
Default Value: -><-
$enabled
Default Value: -><-
$visible
Default Value: -><-

Method Summary
Option ( $names, [$regexp = ""], [$required = false], [$enabled = true], [$default = ""], [$visible = false] )
set_value ( $value )
set_visible ( [$visible = true] )
check_existence ( $vars )
check_value ( )

Variable Detail

$aliases



$regexp



$required



$default



$value



$enabled



$visible




Function Detail

Option

Option ( $names, [$regexp = ""], [$required = false], [$enabled = true], [$default = ""], [$visible = false] )


Function Parameters:
Function Info:

set_value

set_value ( $value )


Function Parameters:
Function Info:

set_visible

set_visible ( [$visible = true] )


Function Parameters:
Function Info:

check_existence

check_existence ( $vars )


Function Parameters:
Function Info:

check_value

check_value ( )


Function Parameters:
Function Info: