|
dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
|
Go to the source code of this file.
Functions | |
| dbx_get_base_dir ($cut_Data=0) | |
| dbx_get_file_dir () | |
| dbx_os_path_file ($path_file) | |
| dbx_path_is_absolute (string $path) | |
| dbx_config_path_store (string $path, bool $dirTrailingSlash=false) | |
| dbx_config_path_resolve (string $path) | |
| dbxki_usage () | |
| dbxki_read_job (array $argv) | |
| dbxki_result_ref (string $ref, array $results) | |
| dbxki_prepare_asset_file (array $params) | |
| dbxki_resolve_params ($value, array $results) | |
| dbxki_normalize_result (string $action, array $result) | |
Variables | |
| $base = dirname(__DIR__, 4) | |
| Direkt-Runner fuer dbxKi-Jobs. | |
| $_SERVER ['REQUEST_URI'] = '/dbxapp/' | |
| $_SERVER ['HTTP_HOST'] = 'localhost' | |
| $_SERVER ['HTTPS'] = 'on' | |
| $_SERVER ['SCRIPT_NAME'] = '/dbxapp/index.php' | |
| const | dbxSystem 'dbxWebApp' |
| const | dbxRunAsAdmin 1 |
| try | |
| $cms = new \dbx\dbxKi\dbxKiCmsService() | |
| $results = array() | |
| foreach ( $job[ 'steps'] as $pos=> $step) | |
| dbx_config_path_resolve | ( | string | $path | ) |
Definition at line 76 of file run_job.php.
| dbx_config_path_store | ( | string | $path, |
| bool | $dirTrailingSlash = false ) |
Definition at line 56 of file run_job.php.
| dbx_get_base_dir | ( | $cut_Data = 0 | ) |
| dbx_get_file_dir | ( | ) |
Definition at line 32 of file run_job.php.
References dbx_get_base_dir().
| dbx_os_path_file | ( | $path_file | ) |
Definition at line 36 of file run_job.php.
References $path_file.
| dbx_path_is_absolute | ( | string | $path | ) |
Definition at line 45 of file run_job.php.
| dbxki_normalize_result | ( | string | $action, |
| array | $result ) |
Definition at line 184 of file run_job.php.
References $result.
| dbxki_prepare_asset_file | ( | array | $params | ) |
Definition at line 140 of file run_job.php.
Referenced by dbxki_resolve_params().
| dbxki_read_job | ( | array | $argv | ) |
Definition at line 95 of file run_job.php.
References dbxki_usage(), and exit.
| dbxki_resolve_params | ( | $value, | |
| array | $results ) |
Definition at line 158 of file run_job.php.
References $results, dbxki_prepare_asset_file(), dbxki_resolve_params(), and dbxki_result_ref().
Referenced by dbxki_resolve_params().
| dbxki_result_ref | ( | string | $ref, |
| array | $results ) |
Definition at line 122 of file run_job.php.
References $results.
Referenced by dbxki_resolve_params().
| dbxki_usage | ( | ) |
Definition at line 91 of file run_job.php.
Referenced by dbxki_read_job().
| $_SERVER[ 'HTTP_HOST'] = 'localhost' |
Definition at line 16 of file run_job.php.
| $_SERVER[ 'HTTPS'] = 'on' |
Definition at line 17 of file run_job.php.
| $_SERVER[ 'REQUEST_URI'] = '/dbxapp/' |
Definition at line 15 of file run_job.php.
| $_SERVER[ 'SCRIPT_NAME'] = '/dbxapp/index.php' |
Definition at line 18 of file run_job.php.
| $base = dirname(__DIR__, 4) |
Direkt-Runner fuer dbxKi-Jobs.
Zweck: Eine lokale KI wie Codex/Cursor kann einen dbxKi-Job ohne Einmal-Skript ausfuehren. Der Runner nutzt dieselben sicheren Aktionen wie der Bundle-Import und akzeptiert JSON aus Datei oder STDIN.
Aufruf: php dbx/modules/dbxKi/tools/run_job.php job.json Get-Content job.json -Raw | php dbx/modules/dbxKi/tools/run_job.php -
Definition at line 13 of file run_job.php.
| $cms = new \dbx\dbxKi\dbxKiCmsService() |
Definition at line 206 of file run_job.php.
Referenced by dbx\dbxKi\dbxKiBundleService\describeBundle().
| $results = array() |
Definition at line 207 of file run_job.php.
Referenced by dbxki_resolve_params(), and dbxki_result_ref().
| const dbxRunAsAdmin 1 |
Definition at line 21 of file run_job.php.
| const dbxSystem 'dbxWebApp' |
Definition at line 20 of file run_job.php.
| foreach($job['steps'] as $pos=> $step) | ( | $job as[ 'steps'], | |
| $step ) |
Definition at line 209 of file run_job.php.
| try |
Definition at line 204 of file run_job.php.
Referenced by dbx\dbxKi\dbxKiCmsService\handle(), dbx\dbxKi\dbxKiBundleService\handleImport(), and dbx\dbxKi\dbxKiBriefingService\handleStylesSave().