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

Common extractors for parameters in php.ini.

wizard.app.php.substitutions

Common substitutions for parameters in php.ini.

wizard.app.php.parametrized_files

A list containing php.ini.

wizard.app.php.deprecated_keys

Nop for consistency.

Table Of Contents

Previous topic

wizard.app

Next topic

wizard.deploy

This Page