dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
install_demo.php File Reference

Go to the source code of this file.

Variables

if(PHP_SAPI !=='cli') $base = dirname(__DIR__, 4)
 CLI-Runner für Schema und idempotente myInvoices-Demo-Daten.
 $_SERVER ['REQUEST_URI'] = '/dbxapp/'
 $_SERVER ['HTTP_HOST'] = 'localhost'
 $_SERVER ['HTTPS'] = 'on'
 $_SERVER ['SCRIPT_NAME'] = '/dbxapp/index.php'
 $_SERVER ['REQUEST_METHOD'] = 'GET'
const dbxSystem 'dbxWebApp'
const dbxRunAsAdmin 1
 $schemaOnly = in_array('--schema-only', $argv, true)
 $fixtures
 $result = $fixtures->install(!$schemaOnly)

Variable Documentation

◆ $_SERVER [1/5]

$_SERVER[ 'HTTP_HOST'] = 'localhost'

Definition at line 18 of file install_demo.php.

◆ $_SERVER [2/5]

$_SERVER[ 'HTTPS'] = 'on'

Definition at line 19 of file install_demo.php.

◆ $_SERVER [3/5]

$_SERVER[ 'REQUEST_METHOD'] = 'GET'

Definition at line 21 of file install_demo.php.

◆ $_SERVER [4/5]

$_SERVER[ 'REQUEST_URI'] = '/dbxapp/'

Definition at line 17 of file install_demo.php.

◆ $_SERVER [5/5]

$_SERVER[ 'SCRIPT_NAME'] = '/dbxapp/index.php'

Definition at line 20 of file install_demo.php.

◆ $base

if (PHP_SAPI !=='cli') $base = dirname(__DIR__, 4)

CLI-Runner für Schema und idempotente myInvoices-Demo-Daten.

Aufruf: php dbx/modules/myInvoices/tools/install_demo.php php dbx/modules/myInvoices/tools/install_demo.php –schema-only

Definition at line 15 of file install_demo.php.

◆ $fixtures

$fixtures
Initial value:
= dbx()->get_include_obj(
'myInvoicesFixtures',
'myInvoices'
)
DBX schema administration.

Definition at line 36 of file install_demo.php.

◆ $result

$result = $fixtures->install(!$schemaOnly)

Definition at line 40 of file install_demo.php.

◆ $schemaOnly

$schemaOnly = in_array('--schema-only', $argv, true)

Definition at line 35 of file install_demo.php.

◆ dbxRunAsAdmin

const dbxRunAsAdmin 1

Definition at line 24 of file install_demo.php.

◆ dbxSystem

const dbxSystem 'dbxWebApp'

Definition at line 23 of file install_demo.php.