CheckerBase
in package
base class for a jelix installation checker.
Tags
Table of Contents
- $checkForInstallation : mixed
- $messages : Messages
- $verbose : mixed
- $buildProperties : mixed
- $databases : mixed
- $dbRequired : mixed
- $otherExtensions : mixed
- $otherPaths : mixed
- $reporter : ReporterInterface
- the object responsible of the results output.
- __construct() : mixed
- addDatabaseCheck() : mixed
- addExtensionCheck() : mixed
- addWritablePathCheck() : mixed
- run() : mixed
- run the ckecking.
- _otherCheck() : mixed
- checkPhpExtensions() : mixed
- checkPhpSettings() : mixed
- error() : mixed
- notice() : mixed
- ok() : mixed
- warning() : mixed
- generate a warning.
Properties
$checkForInstallation
public
mixed
$checkForInstallation
= false
Tags
$messages
public
Messages
$messages
Tags
$verbose
public
mixed
$verbose
= false
Tags
$buildProperties
protected
mixed
$buildProperties
= array()
Tags
$databases
protected
mixed
$databases
= array()
Tags
$dbRequired
protected
mixed
$dbRequired
= false
Tags
$otherExtensions
protected
mixed
$otherExtensions
= array()
Tags
$otherPaths
protected
mixed
$otherPaths
= array()
Tags
$reporter
the object responsible of the results output.
protected
ReporterInterface
$reporter
Tags
Methods
__construct()
public
__construct(ReporterInterface $reporter[, mixed $lang = 'en' ]) : mixed
Parameters
- $reporter : ReporterInterface
- $lang : mixed = 'en'
Tags
Return values
mixed —addDatabaseCheck()
public
addDatabaseCheck(mixed $databases, mixed $required) : mixed
Parameters
- $databases : mixed
- $required : mixed
Tags
Return values
mixed —addExtensionCheck()
public
addExtensionCheck(mixed $extension, mixed $required) : mixed
Parameters
- $extension : mixed
- $required : mixed
Tags
Return values
mixed —addWritablePathCheck()
public
addWritablePathCheck(mixed $pathOrFileName) : mixed
Parameters
- $pathOrFileName : mixed
Tags
Return values
mixed —run()
run the ckecking.
public
run() : mixed
Tags
Return values
mixed —_otherCheck()
protected
_otherCheck() : mixed
Tags
Return values
mixed —checkPhpExtensions()
protected
checkPhpExtensions() : mixed
Tags
Return values
mixed —checkPhpSettings()
protected
checkPhpSettings() : mixed
Tags
Return values
mixed —error()
protected
error(mixed $msg[, mixed $msgparams = array() ][, mixed $extraMsg = '' ]) : mixed
Parameters
- $msg : mixed
- $msgparams : mixed = array()
- $extraMsg : mixed = ''
Tags
Return values
mixed —notice()
protected
notice(mixed $msg[, mixed $msgparams = array() ]) : mixed
Parameters
- $msg : mixed
- $msgparams : mixed = array()
Tags
Return values
mixed —ok()
protected
ok(mixed $msg[, mixed $msgparams = array() ]) : mixed
Parameters
- $msg : mixed
- $msgparams : mixed = array()
Tags
Return values
mixed —warning()
generate a warning.
protected
warning(string $msg[, mixed $msgparams = array() ]) : mixed
Parameters
- $msg : string
-
the key of the message to display
- $msgparams : mixed = array()