Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
StudipForm Class Reference
Collaboration diagram for StudipForm:
Collaboration graph

Public Member Functions

 __construct ($form_fields, $form_buttons, $form_name="studipform", $persistent_values=true)
 getDefaultValues ()
 checkDefaultValues ()
 getFormField ($name, $attributes=false, $default=false, $subtype=false)
 getFormFieldNoForm ($name, $attributes, $default)
 getFormFieldText ($name, $attributes, $default)
 getFormFieldCheckbox ($name, $attributes, $default)
 getFormFieldRadio ($name, $attributes, $default, $subtype)
 getOneRadio ($name, $attributes, $default, $subtype)
 getFormFieldTextarea ($name, $attributes, $default)
 getFormFieldDate ($name, $attributes, $default)
 getFormFieldTime ($name, $attributes, $default)
 getFormFieldSelect ($name, $attributes, $default)
 getFormFieldSelectBox ($name, $attributes, $default)
 getFormFieldCombo ($name, $attributes, $default, $subtype=false)
 getFormButton ($name, $attributes=array())
 getFormFieldCaption ($name, $attributes=false)
 getFormFieldInfo ($name)
 getFormStart ($action=false, $attributes=false)
 getFormEnd ()
 getFormFieldValue ($name)
 getFormFieldsByName ($only_editable=false)
 getHiddenField ($name, $value=false)
 doFormReset ()
 isChanged ($name)
 getRawFieldValue ($field_name)
 isSended ()
 isClicked ($button)
 getClickedKillButton ()
 getAttributes ($attributes)
 getFormFieldRequired ($name)

Static Public Member Functions

static TimestampToSQLDate ($tstamp)
static SQLDateToTimestamp ($sqldate)
static _GetRawFieldValue ($field_name, $form_name)
static _IsSended ($form_name)
static _IsClicked ($button, $form_name)

Data Fields

 $form_name
 $field_attributes_default = array()
 $form_fields = array()
 $form_buttons = array()
 $persistent_values = true
 $form_values = array()
 $value_changed = array()

Constructor & Destructor Documentation

__construct (   $form_fields,
  $form_buttons,
  $form_name = "studipform",
  $persistent_values = true 
)

Here is the call graph for this function:

Member Function Documentation

static _GetRawFieldValue (   $field_name,
  $form_name 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static _IsClicked (   $button,
  $form_name 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static _IsSended (   $form_name)
static

Here is the call graph for this function:

Here is the caller graph for this function:

checkDefaultValues ( )
doFormReset ( )
getAttributes (   $attributes)

Here is the call graph for this function:

Here is the caller graph for this function:

getClickedKillButton ( )

Here is the call graph for this function:

getDefaultValues ( )
getFormButton (   $name,
  $attributes = array() 
)

Here is the call graph for this function:

getFormEnd ( )

Here is the call graph for this function:

getFormField (   $name,
  $attributes = false,
  $default = false,
  $subtype = false 
)
getFormFieldCaption (   $name,
  $attributes = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getFormFieldCheckbox (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldCombo (   $name,
  $attributes,
  $default,
  $subtype = false 
)

Here is the call graph for this function:

getFormFieldDate (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldInfo (   $name)

Here is the call graph for this function:

getFormFieldNoForm (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldRadio (   $name,
  $attributes,
  $default,
  $subtype 
)

Here is the call graph for this function:

getFormFieldRequired (   $name)
getFormFieldsByName (   $only_editable = false)
getFormFieldSelect (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getFormFieldSelectBox (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldText (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getFormFieldTextarea (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldTime (   $name,
  $attributes,
  $default 
)

Here is the call graph for this function:

getFormFieldValue (   $name)

Here is the caller graph for this function:

getFormStart (   $action = false,
  $attributes = false 
)

Here is the call graph for this function:

getHiddenField (   $name,
  $value = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getOneRadio (   $name,
  $attributes,
  $default,
  $subtype 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getRawFieldValue (   $field_name)

Here is the call graph for this function:

isChanged (   $name)
isClicked (   $button)

Here is the call graph for this function:

Here is the caller graph for this function:

isSended ( )

Here is the call graph for this function:

Here is the caller graph for this function:

static SQLDateToTimestamp (   $sqldate)
static
static TimestampToSQLDate (   $tstamp)
static

Field Documentation

$field_attributes_default = array()
$form_buttons = array()
$form_fields = array()
$form_name
$form_values = array()
$persistent_values = true
$value_changed = array()

The documentation for this class was generated from the following file: