Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/mitarbeiter/sven/public_html/tmp/devcon_php_base/admin_panel/formviews.php
dev/con php base - User interface

/home/mitarbeiter/sven/public_html/tmp/devcon_php_base/admin_panel/formviews.php::form

Form parser and generic form handlers.

 

public module form

Form parser and generic form handlers.

 

Public Method Summary

void

form_parser( &$this)

Read in form and invoke form filters and functions.
void

form_update( &$this)

Form handler: Write form content to record interface.

Private Method Summary

void

_form_collect(object application &$this, array &$forms, array &$formfuncs, array &$filteredelements)

Collect and sort form elements and fetch uploaded files.
void

_form_update_fileinfo( &$this, &$cursor, &$e)

Write file type and name to record.
void

form_safe( &$this)

Form filter: Write posted form to record cache.
void

form_create( &$this)

Form handler: Create records with form content.
void

form_check( &$this)

Form handler: Typechecking of forms.
void

form_has_content( &$this)

Check if form contains any data.
void

record_cache_safe( &$this)

Save record cache to session.
void

record_cache_fetch( &$this)

Fetch record cache from session.
void

_formviews_init( &$this)

Warning: documentation is missing.

Public Method Details

form_parser

public void form_parser( &$this )

  Read in form and invoke form filters and functions.

Parameter
&$this
Warning: documentation is missing.
Returns void


form_update

public void form_update( &$this )

  Form handler: Write form content to record interface.
Event argument 'keyset' (optional) takes a source set. Optionalargument 'ignored_elements' can contain an array of form fields that areignored.

Parameter
&$this
Warning: documentation is missing.
Returns void


Private Method Details

_form_collect

private void _form_collect( object application &$this, array &$forms, array &$formfuncs, array &$filteredelements )

  Collect and sort form elements and fetch uploaded files.

Parameter
object application &$this
Reference to current application.
array &$forms
Form elements sorted by form index.
array &$formfuncs
Form functions, keyed by form index.
array &$filteredelements
Elements that need filtering.
Returns void


_form_update_fileinfo

private void _form_update_fileinfo( &$this, &$cursor, &$e )

  Write file type and name to record.
@oaram object application $this@oaram object cursor $cursor

Parameter
&$this
Warning: documentation is missing.
&$cursor
Warning: documentation is missing.
&$e
Warning: documentation is missing.
Returns void


form_safe

private void form_safe( &$this )

  Form filter: Write posted form to record cache.
The record cache will identify records using the context cursor id.@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


form_create

private void form_create( &$this )

  Form handler: Create records with form content.
Optional event argumet 'sources' takes a source set.@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


form_check

private void form_check( &$this )

  Form handler: Typechecking of forms.
Event argument 'error_view' takes an event that is triggered if after acheck failed. The erroraneous fields are highlighted.@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


form_has_content

private void form_has_content( &$this )

  Check if form contains any data.
@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


record_cache_safe

private void record_cache_safe( &$this )

  Save record cache to session.
@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


record_cache_fetch

private void record_cache_fetch( &$this )

  Fetch record cache from session.
@oaram object application $this

Parameter
&$this
Warning: documentation is missing.
Returns void


_formviews_init

private void _formviews_init( &$this )

 

Warning: documentation is missing.

Parameter
&$this
Warning: documentation is missing.
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta