|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($phpVersionMin=PHP_REQUIRED_VERSION, $phpVersionMax=null, $phpExtensions=array(), $externalPrograms=array()) | |
| getExternalPrograms () | |
| getPhpExtensions () | |
| getPhpVersionMax () | |
| getPhpVersionMin () | |
| isCompatible () | |
Data Fields | |
| $_externalPrograms | |
| $_phpExtensions | |
| $_phpVersionMax | |
| $_phpVersionMin | |
Class that describes a runtime environment.
Definition at line 16 of file RuntimeEnvironment.inc.php.
| RuntimeEnvironment::__construct | ( | $phpVersionMin = PHP_REQUIRED_VERSION, |
|
$phpVersionMax = null, |
|||
$phpExtensions = array(), |
|||
$externalPrograms = array() |
|||
| ) |
Definition at line 41 of file RuntimeEnvironment.inc.php.
| RuntimeEnvironment::getExternalPrograms | ( | ) |
Get the required external programs
Definition at line 79 of file RuntimeEnvironment.inc.php.
References $_externalPrograms.
| RuntimeEnvironment::getPhpExtensions | ( | ) |
Get the required PHP extensions
Definition at line 71 of file RuntimeEnvironment.inc.php.
References $_phpExtensions.
| RuntimeEnvironment::getPhpVersionMax | ( | ) |
Get the max required PHP version
Definition at line 63 of file RuntimeEnvironment.inc.php.
References $_phpVersionMax.
| RuntimeEnvironment::getPhpVersionMin | ( | ) |
Get the min required PHP version
Definition at line 55 of file RuntimeEnvironment.inc.php.
References $_phpVersionMin.
| RuntimeEnvironment::isCompatible | ( | ) |
Checks whether the current runtime environment is compatible with the specified parameters.
Definition at line 92 of file RuntimeEnvironment.inc.php.
References checkPhpVersion(), and Config\getVar().
| array RuntimeEnvironment::$_externalPrograms |
Definition at line 39 of file RuntimeEnvironment.inc.php.
Referenced by getExternalPrograms().
| array RuntimeEnvironment::$_phpExtensions |
Definition at line 33 of file RuntimeEnvironment.inc.php.
Referenced by getPhpExtensions().
| string RuntimeEnvironment::$_phpVersionMax |
Definition at line 27 of file RuntimeEnvironment.inc.php.
Referenced by getPhpVersionMax().
| string RuntimeEnvironment::$_phpVersionMin |
Definition at line 21 of file RuntimeEnvironment.inc.php.
Referenced by getPhpVersionMin().