wizard.app.php

Common data and functions for use in PHP applications.

Functions

wizard.app.php.re_var(var)

Generates a regexp for assignment to var in PHP; the quoted value is the second subpattern.

>>> re_var('key').search("$key = 'val';").group(2)
"'val'"
wizard.app.php.re_define(var)

Generates a regexp for the definition of a constant in PHP; the quoted value is the second subpattern.

>>> re_define('FOO').search("define('FOO', 'bar');").group(2)
"'bar'"
wizard.app.php.ini_replace_vars()

Replace WIZARD_TMPDIR and WIZARD_SESSIONNAME with with user-specific values.

Data

wizard.app.php.extractors = {'WIZARD_TMPDIR': <function h at 0x445a668>, 'WIZARD_SESSIONNAME': <function h at 0x445ade8>}

Common extractors for parameters in php.ini.

wizard.app.php.substitutions = {'WIZARD_TMPDIR': <function h at 0x445ac80>, 'WIZARD_SESSIONNAME': <function h at 0x445ab18>}

Common substitutions for parameters in php.ini.

wizard.app.php.parametrized_files = ['php.ini']

A list containing php.ini.

wizard.app.php.deprecated_keys = set([])

Nop for consistency.

Table Of Contents

Previous topic

wizard.app

Next topic

wizard.deploy

This Page