Definition at line 5 of file Lib.Phpini.php.
static applyLimit |
( |
|
$phpIniValueName, |
|
|
|
$dcpParameterName, |
|
|
|
$defaultValue, |
|
|
|
$infinityValue = 0 |
|
) |
| |
|
staticprotected |
Apply a limit to $phpIniValueName value by choosing "best" value between php.ini and CORE parameter $dcpParameterName
- Parameters
-
string | $phpIniValueName | name of the php.ini parameter |
string | $dcpParameterName | name of the core parameter containing dcp value |
int | $defaultValue | default value for the core parameter if empty |
int | $infinityValue | infinity value (often -1 or 0) |
- Returns
- array
Definition at line 37 of file Lib.Phpini.php.
static getParam |
( |
|
$name, |
|
|
|
$defaultValue |
|
) |
| |
|
staticprotected |
static return_bytes |
( |
|
$val | ) |
|
|
staticprotected |
convert a php.ini value into bytes
- Parameters
-
string | int | $val | the value from php.ini with optional unit) |
- Returns
- int
PhpMissingBreakStatementInspection
PhpMissingBreakStatementInspection
Definition at line 89 of file Lib.Phpini.php.
static setCoreApplication |
( |
\Application |
$coreApplication | ) |
|
|
static |
- Parameters
-
\Application | $coreApplication | |
Definition at line 22 of file Lib.Phpini.php.
The documentation for this class was generated from the following file: