|
dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
|
Verwaltet mehrstufige, sitzungsübergreifende Prozesse und Teilantworten. Mehr ...
Öffentliche Methoden | |
| clear ($section='') | |
| add_norep ($content) | |
| init_job ($key, $title='', $tasks=array(), $meta=array()) | |
| get_job ($key) | |
| set_job ($key, $state) | |
| clear_job ($key) | |
| control_job ($key, $cmd) | |
| fast_response ($response, $interpreter=1) | |
| process () | |
| add ($process) | |
| get_status () | |
| init ($section) | |
| run ($process='', $content=1, $fast_response=1) | |
| Öffentliche Methoden geerbt von dbxObj | |
| set_callback_owner ($owner) | |
| Setzt ein explizites Owner-Objekt für Callback-Aufrufe. | |
| set_callback_id (string $id) | |
| Setzt den Namenspräfix für konventionelle Callback-Methoden. | |
| set_callback (string $event, string $callback) | |
| Ordnet einem Event einen konkreten Methodennamen zu. | |
| set_property ($name, $value, $section='', $modul='modul') | |
| Speichert eine Objekt- oder Session-Property. | |
| get_property ($name, $default='', $section='', $modul='modul') | |
| Liest eine Objekt- oder Session-Property. | |
| del_property ($name, $section='', $modul='modul') | |
| Löscht eine Objekt- oder Session-Property. | |
| dbx_next_process ($content, $process='', $mode='append') | |
| Fügt den nächsten dbxProcess-Schritt in eine Ausgabe ein. | |
Geschützte Methoden | |
| job_key ($key) | |
| Geschützte Methoden geerbt von dbxObj | |
| normalize_callback_id (string $id) | |
| Normalisiert Callback-IDs auf gültige PHP-Methodenbestandteile. | |
| get_callback_name (string $event) | |
| Liefert den Methodennamen für ein Event. | |
| get_callback_owner () | |
| Liefert das aktuelle Owner-Objekt für Callback-Aufrufe. | |
| callback (string $event, mixed $value) | |
| Führt einen Callback aus und gibt dessen Rückgabewert zurück. | |
Geschützte Attribute | |
| $_process_remember_modul = 'dbxProcess' | |
| Geschützte Attribute geerbt von dbxObj | |
| $_callback_owner = null | |
| $_callback_id = '' | |
| $_callbacks = array() | |
Weitere Geerbte Elemente | |
| Öffentliche Attribute geerbt von dbxObj | |
| Public | $_properties =array() |
| Public | $_section ='' |
| Public | $_process ='' |
Verwaltet mehrstufige, sitzungsübergreifende Prozesse und Teilantworten.
| dbxProcess::add | ( | $process | ) |
Benutzt dbxObj\get_property() und dbxObj\set_property().
| dbxProcess::add_norep | ( | $content | ) |
Benutzt $id.
Wird benutzt von fast_response().
| dbxProcess::clear | ( | $section = '' | ) |
Benutzt dbxObj\$_section und dbxObj\del_property().
| dbxProcess::clear_job | ( | $key | ) |
Benutzt job_key().
Wird benutzt von control_job().
| dbxProcess::control_job | ( | $key, | |
| $cmd ) |
Benutzt clear_job(), get_job(), job_key() und set_job().
| dbxProcess::fast_response | ( | $response, | |
| $interpreter = 1 ) |
Benutzt add_norep() und exit.
Wird benutzt von run().
| dbxProcess::get_job | ( | $key | ) |
Benutzt job_key().
Wird benutzt von control_job().
| dbxProcess::get_status | ( | ) |
Benutzt dbxObj\get_property().
Wird benutzt von run().
| dbxProcess::init | ( | $section | ) |
Benutzt clear().
| dbxProcess::init_job | ( | $key, | |
| $title = '', | |||
| $tasks = array(), | |||
| $meta = array() ) |
|
protected |
Wird benutzt von clear_job(), control_job(), get_job(), init_job() und set_job().
| dbxProcess::process | ( | ) |
Benutzt dbxObj\$_section, $count, clear(), dbxObj\get_property() und dbxObj\set_property().
Wird benutzt von run().
| dbxProcess::run | ( | $process = '', | |
| $content = 1, | |||
| $fast_response = 1 ) |
Benutzt dbxObj\$_section, fast_response(), dbxObj\get_property(), get_status() und process().
| dbxProcess::set_job | ( | $key, | |
| $state ) |
Benutzt job_key().
Wird benutzt von control_job() und init_job().
|
protected |