ServiceHelper Class Reference

Inheritance diagram for ServiceHelper:
APCServiceHelper CtypeServiceHelper CurlServiceHelper DatabaseBaseServiceHelper FilePermissionsAfterInstallServiceHelper FilePermissionsServiceHelper HostInfoServiceHelper IMAPServiceHelper InstanceFoldersServiceHelper LdapServiceHelper MbStringServiceHelper McryptServiceHelper MemcacheServiceHelper PCREServiceHelper PdoMysqlServiceHelper PdoServiceHelper PhpFileUploadsServiceHelper PhpMemoryBytesServiceHelper PhpPostSizeServiceHelper PhpServiceHelper PhpTimeZoneServiceHelper PhpUploadSizeServiceHelper RedBeanServiceHelper ServerVariableServiceHelper SetIncludePathServiceHelper SoapServiceHelper SPLServiceHelper WebServerServiceHelper YiiServiceHelper ZipServiceHelper ZurmoServiceHelper

Public Member Functions

 didCheckProduceWarningStatus ()
 runCheckAndGetIfSuccessful ()
 getMessage ()
 isRequired ()
 getServiceType ()

Data Fields

const REQUIRED_SERVICE = 1
const OPTIONAL_SERVICE = 2

Protected Member Functions

 checkService ()
 checkServiceAndSetMessagesByMethodNameAndDisplayLabel ($methodName, $displayLabel)
 callCheckServiceMethod ($methodName, &$actualVersion)
 getMinimumVersionLabel ()

Protected Attributes

 $serviceHasBeenChecked = false
 $message
 $required = true
 $minimumVersion
 $checkResultedInWarning = false

Detailed Description

Base class for the different services and settings that need to be checked for an installation.

Definition at line 40 of file ServiceHelper.php.


Member Function Documentation

runCheckAndGetIfSuccessful (  ) 

Called to check service. Will check service and populate message.

Returns:
boolean true/false

Definition at line 98 of file ServiceHelper.php.

checkServiceAndSetMessagesByMethodNameAndDisplayLabel ( methodName,
displayLabel 
) [protected]
Parameters:
string $methodName
string $displayLabel
Returns:
bool

Reimplemented in MemcacheServiceHelper, WebServerServiceHelper, and ZurmoServiceHelper.

Definition at line 136 of file ServiceHelper.php.

callCheckServiceMethod ( methodName,
&$  actualVersion 
) [protected]
Parameters:
string $methodName
$actualVersion 
Returns:
mixed

Reimplemented in DatabaseServiceHelper.

Definition at line 172 of file ServiceHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Apr 25 07:10:31 2017