get_class_name()
get_class_name() : string
Method get_class_name()
Get class name.
Returns
string —CLASS Class name.
Class MainWP_Child_Server_Information_Base
Base set of methods to collect a Child Site's server information.
curlssl_compare(string $version, string $operator) : boolean|integer
Compare current cURL & SSL versions to required values.
string | $version | Required values to compare to. |
string | $operator | Comparison operator. |
When using the optional operator argument, the function will return TRUE if the relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version is lower than the second, 0 if they are equal, and 1 if the second is lower.
check_mainwp_directory(string $message = '', string $path = '') : boolean
Check if MainWP Directory is writeable.
string | $message | Return message - Directory not found, Directory not writable, writeable. |
string | $path | MainWP directory path. |
TRUE if exists & writeable, FALSE if not.
check(string $pCompare, string $pVersion, string $pGetter, string $pExtraCompare = null, string $pExtraVersion = null, boolean $sizeCompare = false) : boolean|integer
Check Child Site system variables for any issues.
string | $pCompare | Comparison operator. |
string | $pVersion | Version to compare to. |
string | $pGetter | The method to grab the data with. |
string | $pExtraCompare | Extra comparison operator. |
string | $pExtraVersion | Extra version to compare to. |
boolean | $sizeCompare | Size to compare to. |
When using the optional operator argument, the function will return TRUE if the relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version is lower than the second, 0 if they are equal, and 1 if the second is lower.
filesize_compare(string $value1, string $value2, string $operator = null) : boolean|integer
Compare filesizes.
string | $value1 | First value to compare. |
string | $value2 | Second value to compare. |
string | $operator | Comparison operator. |
When using the optional operator argument, the function will return TRUE if the relationship is the one specified by the operator, FALSE otherwise. Returns -1 if the first version is lower than the second, 0 if they are equal, and 1 if the second is lower.