mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-16 17:22:04 +08:00
3560 lines
181 KiB
HTML
3560 lines
181 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Child Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Child Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category -namespaces">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/mainwp.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/mainwp-child.html" class="">Child</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category -packages">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWP.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWP-Child.html" class="">Child</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-ChildCreditsPlugin.html" class="">ChildCreditsPlugin</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPChild.html" class="">MainWPChild</a>
|
|
</h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -reports">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -indices">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp-child.html">Child</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
MainWP_Child_Server_Information_Base
|
|
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-Child.html">Child</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">19</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.19" class="phpdocumentor-element-found-in__source" data-line="19" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class MainWP_Child_Server_Information_Base</p>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Base set of methods to collect a Child Site's server information.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_curlssl_compare">curlssl_compare()</a>
|
|
<span>
|
|
: bool|int </span>
|
|
</dt>
|
|
<dd>Compare current cURL & SSL versions to required values.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_class_name">get_class_name()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method get_class_name()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_ssl_version">get_curl_ssl_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get curl ssl version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_support">get_curl_support()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if PHP class curl_version() is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_version">get_curl_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current cURL Version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_db_size">get_db_size()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get db size.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_file_system_method">get_file_system_method()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get file system method.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_my_sql_version">get_my_sql_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current MySQL version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_openssl_working_status">get_openssl_working_status()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>To verify openssl working.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_memory_limit">get_php_memory_limit()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current PHP memory limit.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check">check()</a>
|
|
<span>
|
|
: bool|int </span>
|
|
</dt>
|
|
<dd>Check Child Site system variables for any issues.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_if_multisite">check_if_multisite()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if in multisite WordPress environment.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory">check_mainwp_directory()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if MainWP Directory is writeable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_filesize_compare">filesize_compare()</a>
|
|
<span>
|
|
: bool|int </span>
|
|
</dt>
|
|
<dd>Compare filesizes.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_architecture">get_architecture()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get System architecture.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_bzip_enabled">get_bzip_enabled()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if PHP function bzopen is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_complete_url">get_complete_url()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server complete URL.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_timeout">get_curl_timeout()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Get current cURL Timeout.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_page_uri">get_current_page_uri()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get current page URL.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_version">get_current_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get the current MainWP Child plugin version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_gzip_enabled">get_gzip_enabled()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if PHP function gzopen is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_http_host">get_http_host()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server HTTP host.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_https">get_https()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if HTTPS is on.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_loaded_php_extensions">get_loaded_php_extensions()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get loaded PHP extensions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_mainwp_version">get_mainwp_version()</a>
|
|
<span>
|
|
: string|bool </span>
|
|
</dt>
|
|
<dd>Get the current MainWP Child plugin version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_execution_time">get_max_execution_time()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get max execution time.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_input_time">get_max_input_time()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get max input time.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_os">get_os()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get operating system.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_output_buffer_size">get_output_buffer_size()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get the current output buffer size.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_allow_url_fopen">get_php_allow_url_fopen()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if PHP Allow URL fopen is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_exif">get_php_exif()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if PHP exif is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_ip_tc">get_php_ip_tc()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if PHP IP TC is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_safe_mode">get_php_safe_mode()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if PHP is in Safe Mode.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_version">get_php_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current PHP version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_xml">get_php_xml()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check if PHP XML is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_post_max_size">get_post_max_size()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get the max post size.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_address">get_remote_address()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server remote address.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_host">get_remote_host()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server remote host.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_port">get_remote_port()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server remote port.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_script_file_name">get_script_file_name()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server script filename.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_accept_charset">get_server_accept_charset()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server accepted charset.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_getaway_interface">get_server_getaway_interface()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get current server gateway interface.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_http_accept">get_server_http_accept()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server HTTP accept.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_ip">get_server_ip()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server IP.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_name">get_server_name()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server name.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_port">get_server_port()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server port.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_protocol">get_server_protocol()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server protocol.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_request_time">get_server_request_time()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server request time.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_software">get_server_software()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server software.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_sql_mode">get_sql_mode()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get current SQL mode.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_support">get_ssl_support()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if PHP extension OpenSSL is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_warning">get_ssl_warning()</a>
|
|
<span>
|
|
: false|string </span>
|
|
</dt>
|
|
<dd>Get any SSL warnings.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_upload_max_filesize">get_upload_max_filesize()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get the max uplaod filesize.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_user_agent">get_user_agent()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get server user agent.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_memory_limit">get_wordpress_memory_limit()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current WordPress memory limit.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_version">get_wordpress_version()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get current WordPress version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wp_root">get_wp_root()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get WordPress root directory.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_zip_archive_enabled">get_zip_archive_enabled()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if PHP class \ZipArchive is enabled.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_mainwp_required_functions">mainwp_required_functions()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Check for disabled PHP functions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_memory_usage">memory_usage()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get the current Memory usage.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_server_self_connect">server_self_connect()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Server self-connection test.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_time_compare">time_compare()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Time comparison.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_curlssl_compare">
|
|
curlssl_compare()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_curlssl_compare" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">178</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.178" class="phpdocumentor-element-found-in__source" data-line="178" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Compare current cURL & SSL versions to required values.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">curlssl_compare</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$operator</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$version</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Required values to compare to.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$operator</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Comparison operator.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>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.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_class_name">
|
|
get_class_name()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_class_name" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_class_name()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_class_name</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Get class name.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p><strong>CLASS</strong> Class name.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_curl_ssl_version">
|
|
get_curl_ssl_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_ssl_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">191</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.191" class="phpdocumentor-element-found-in__source" data-line="191" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get curl ssl version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_curl_ssl_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>SSL version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_curl_support">
|
|
get_curl_support()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_support" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">142</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.142" class="phpdocumentor-element-found-in__source" data-line="142" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP class curl_version() is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_curl_support</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If 'curl_version' function exists, return true, if not, return false.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_curl_version">
|
|
get_curl_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">160</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.160" class="phpdocumentor-element-found-in__source" data-line="160" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current cURL Version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_curl_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Current cURL Version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_db_size">
|
|
get_db_size()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_db_size" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">492</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.492" class="phpdocumentor-element-found-in__source" data-line="492" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get db size.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_db_size</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return current db size.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_file_system_method">
|
|
get_file_system_method()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_file_system_method" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">230</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.230" class="phpdocumentor-element-found-in__source" data-line="230" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get file system method.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_file_system_method</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$fs The returned file system method.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_my_sql_version">
|
|
get_my_sql_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_my_sql_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">443</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.443" class="phpdocumentor-element-found-in__source" data-line="443" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current MySQL version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_my_sql_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the current MySQL version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_openssl_working_status">
|
|
get_openssl_working_status()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_openssl_working_status" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">372</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.372" class="phpdocumentor-element-found-in__source" data-line="372" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">To verify openssl working.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_openssl_working_status</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Working status.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_memory_limit">
|
|
get_php_memory_limit()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_memory_limit" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">469</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.469" class="phpdocumentor-element-found-in__source" data-line="469" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current PHP memory limit.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_memory_limit</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return current PHP memory limit.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_check">
|
|
check()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">98</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.98" class="phpdocumentor-element-found-in__source" data-line="98" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check Child Site system variables for any issues.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">check</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pCompare</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pVersion</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pGetter</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pExtraCompare</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pExtraVersion</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$sizeCompare</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pCompare</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Comparison operator.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pVersion</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Version to compare to.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pGetter</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The method to grab the data with.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pExtraCompare</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Extra comparison operator.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pExtraVersion</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Extra version to compare to.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$sizeCompare</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Size to compare to.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_class_name"><abbr title="\MainWP\Child\MainWP_Child_Server_Information_Base::get_class_name()">MainWP_Child_Server_Information_Base::get_class_name()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_filesize_compare"><abbr title="\MainWP\Child\MainWP_Child_Server_Information_Base::filesize_compare()">MainWP_Child_Server_Information_Base::filesize_compare()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Server-Information.html#method_render_row"><abbr title="\MainWP\Child\MainWP_Child_Server_Information::render_row()">MainWP_Child_Server_Information::render_row()</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Check Child Site system variables for any issues.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>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.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_check_if_multisite">
|
|
check_if_multisite()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_if_multisite" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">326</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.326" class="phpdocumentor-element-found-in__source" data-line="326" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if in multisite WordPress environment.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">check_if_multisite</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If multisite detected, return false, if not, return true.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_check_mainwp_directory">
|
|
check_mainwp_directory()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if MainWP Directory is writeable.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">check_mainwp_directory</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$message</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$path</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Return message - Directory not found, Directory not writable, writeable.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$path</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>MainWP directory path.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_mainwp_dir"><abbr title="\MainWP\Child\MainWP_Helper::get_mainwp_dir()">MainWP_Helper::get_mainwp_dir()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_filesystem"><abbr title="\MainWP\Child\MainWP_Helper::get_wp_filesystem()">MainWP_Helper::get_wp_filesystem()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Exception::getMessage()">MainWP_Exception::getMessage()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Server-Information.html#method_render_mainwp_directory"><abbr title="\MainWP\Child\MainWP_Child_Server_Information::render_mainwp_directory()">MainWP_Child_Server_Information::render_mainwp_directory()</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Check if MainWP Directory is writeable.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>TRUE if exists & writeable, FALSE if not.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_filesize_compare">
|
|
filesize_compare()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_filesize_compare" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">119</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.119" class="phpdocumentor-element-found-in__source" data-line="119" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Compare filesizes.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">filesize_compare</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value1</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value2</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$operator</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value1</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>First value to compare.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value2</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Second value to compare.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$operator</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Comparison operator.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_filesize_compare#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check"><abbr title="\MainWP\Child\MainWP_Child_Server_Information_Base::check()">MainWP_Child_Server_Information_Base::check()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>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.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_architecture">
|
|
get_architecture()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_architecture" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">483</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.483" class="phpdocumentor-element-found-in__source" data-line="483" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get System architecture.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_architecture</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_bzip_enabled">
|
|
get_bzip_enabled()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_bzip_enabled" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">291</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.291" class="phpdocumentor-element-found-in__source" data-line="291" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP function bzopen is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_bzip_enabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If 'bzopen' function exists, return true, if not, return false.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_complete_url">
|
|
get_complete_url()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_complete_url" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">675</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.675" class="phpdocumentor-element-found-in__source" data-line="675" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server complete URL.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_complete_url</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_curl_timeout">
|
|
get_curl_timeout()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_timeout" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">151</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.151" class="phpdocumentor-element-found-in__source" data-line="151" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current cURL Timeout.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_curl_timeout</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Current cURL timeout value.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_current_page_uri">
|
|
get_current_page_uri()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_page_uri" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">765</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.765" class="phpdocumentor-element-found-in__source" data-line="765" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current page URL.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_current_page_uri</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_current_version">
|
|
get_current_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">242</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.242" class="phpdocumentor-element-found-in__source" data-line="242" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the current MainWP Child plugin version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_current_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$currentVersion The MainWP Child plugin current version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_gzip_enabled">
|
|
get_gzip_enabled()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_gzip_enabled" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">282</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.282" class="phpdocumentor-element-found-in__source" data-line="282" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP function gzopen is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_gzip_enabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If 'gzopen' function exists, return true, if not, return false.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_http_host">
|
|
get_http_host()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_http_host" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">668</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.668" class="phpdocumentor-element-found-in__source" data-line="668" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server HTTP host.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_http_host</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_https">
|
|
get_https()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_https" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">689</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.689" class="phpdocumentor-element-found-in__source" data-line="689" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if HTTPS is on.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_https</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_loaded_php_extensions">
|
|
get_loaded_php_extensions()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_loaded_php_extensions" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">219</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.219" class="phpdocumentor-element-found-in__source" data-line="219" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get loaded PHP extensions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_loaded_php_extensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_mainwp_version">
|
|
get_mainwp_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_mainwp_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">251</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.251" class="phpdocumentor-element-found-in__source" data-line="251" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the current MainWP Child plugin version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_mainwp_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Most recent MainWP Child version or FALSE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_max_execution_time">
|
|
get_max_execution_time()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_execution_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">416</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get max execution time.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_max_execution_time</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the PHP max execution time.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_max_input_time">
|
|
get_max_input_time()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_input_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">460</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.460" class="phpdocumentor-element-found-in__source" data-line="460" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get max input time.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_max_input_time</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return current maximum input time.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_os">
|
|
get_os()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_os" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">476</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.476" class="phpdocumentor-element-found-in__source" data-line="476" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get operating system.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_os</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_output_buffer_size">
|
|
get_output_buffer_size()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_output_buffer_size" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">523</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.523" class="phpdocumentor-element-found-in__source" data-line="523" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the current output buffer size.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_output_buffer_size</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the current back track limit.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_allow_url_fopen">
|
|
get_php_allow_url_fopen()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_allow_url_fopen" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">564</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.564" class="phpdocumentor-element-found-in__source" data-line="564" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP Allow URL fopen is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_allow_url_fopen</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_exif">
|
|
get_php_exif()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_exif" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">576</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.576" class="phpdocumentor-element-found-in__source" data-line="576" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP exif is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_exif</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_ip_tc">
|
|
get_php_ip_tc()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_ip_tc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">588</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.588" class="phpdocumentor-element-found-in__source" data-line="588" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP IP TC is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_ip_tc</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_safe_mode">
|
|
get_php_safe_mode()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_safe_mode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">530</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.530" class="phpdocumentor-element-found-in__source" data-line="530" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP is in Safe Mode.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_safe_mode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_version">
|
|
get_php_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">407</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.407" class="phpdocumentor-element-found-in__source" data-line="407" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current PHP version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Current PHP version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_php_xml">
|
|
get_php_xml()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_xml" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">600</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.600" class="phpdocumentor-element-found-in__source" data-line="600" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP XML is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_php_xml</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_post_max_size">
|
|
get_post_max_size()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_post_max_size" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">434</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.434" class="phpdocumentor-element-found-in__source" data-line="434" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the max post size.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_post_max_size</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the post maximum filesize.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_remote_address">
|
|
get_remote_address()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_address" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">730</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.730" class="phpdocumentor-element-found-in__source" data-line="730" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server remote address.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_remote_address</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_remote_host">
|
|
get_remote_host()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_host" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">737</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.737" class="phpdocumentor-element-found-in__source" data-line="737" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server remote host.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_remote_host</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_remote_port">
|
|
get_remote_port()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_port" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">744</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.744" class="phpdocumentor-element-found-in__source" data-line="744" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server remote port.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_remote_port</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_script_file_name">
|
|
get_script_file_name()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_script_file_name" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">751</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.751" class="phpdocumentor-element-found-in__source" data-line="751" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server script filename.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_script_file_name</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_accept_charset">
|
|
get_server_accept_charset()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_accept_charset" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">661</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.661" class="phpdocumentor-element-found-in__source" data-line="661" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server accepted charset.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_accept_charset</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_getaway_interface">
|
|
get_server_getaway_interface()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_getaway_interface" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">612</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.612" class="phpdocumentor-element-found-in__source" data-line="612" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current server gateway interface.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_getaway_interface</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_http_accept">
|
|
get_server_http_accept()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_http_accept" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">654</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.654" class="phpdocumentor-element-found-in__source" data-line="654" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server HTTP accept.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_http_accept</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_ip">
|
|
get_server_ip()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_ip" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">619</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.619" class="phpdocumentor-element-found-in__source" data-line="619" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server IP.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_ip</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_name">
|
|
get_server_name()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_name" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">626</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.626" class="phpdocumentor-element-found-in__source" data-line="626" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server name.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_name</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_port">
|
|
get_server_port()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_port" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">758</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.758" class="phpdocumentor-element-found-in__source" data-line="758" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server port.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_port</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_protocol">
|
|
get_server_protocol()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_protocol" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">640</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.640" class="phpdocumentor-element-found-in__source" data-line="640" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server protocol.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_protocol</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_request_time">
|
|
get_server_request_time()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_request_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">647</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.647" class="phpdocumentor-element-found-in__source" data-line="647" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server request time.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_request_time</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_server_software">
|
|
get_server_software()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_software" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">633</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.633" class="phpdocumentor-element-found-in__source" data-line="633" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server software.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_server_software</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_sql_mode">
|
|
get_sql_mode()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_sql_mode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">542</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.542" class="phpdocumentor-element-found-in__source" data-line="542" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current SQL mode.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_sql_mode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_ssl_support">
|
|
get_ssl_support()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_support" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">335</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP extension OpenSSL is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_ssl_support</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If 'openssl' extension is loaded, return true, if not, return false.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_ssl_warning">
|
|
get_ssl_warning()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_warning" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">344</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.344" class="phpdocumentor-element-found-in__source" data-line="344" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get any SSL warnings.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_ssl_warning</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">false|string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">false|string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return error message if there are warnings, FALSE otherwise.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_upload_max_filesize">
|
|
get_upload_max_filesize()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_upload_max_filesize" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">425</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.425" class="phpdocumentor-element-found-in__source" data-line="425" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the max uplaod filesize.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_upload_max_filesize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the maximum upload filesize.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_user_agent">
|
|
get_user_agent()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_user_agent" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">682</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.682" class="phpdocumentor-element-found-in__source" data-line="682" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get server user agent.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_user_agent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_wordpress_memory_limit">
|
|
get_wordpress_memory_limit()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_memory_limit" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">317</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.317" class="phpdocumentor-element-found-in__source" data-line="317" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current WordPress memory limit.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_wordpress_memory_limit</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Current WordPress memory limit.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_wordpress_version">
|
|
get_wordpress_version()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_version" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">300</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.300" class="phpdocumentor-element-found-in__source" data-line="300" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get current WordPress version.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_wordpress_version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$wp_version Current WordPress version.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_wp_root">
|
|
get_wp_root()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wp_root" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">772</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.772" class="phpdocumentor-element-found-in__source" data-line="772" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get WordPress root directory.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_wp_root</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_zip_archive_enabled">
|
|
get_zip_archive_enabled()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_zip_archive_enabled" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">273</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.273" class="phpdocumentor-element-found-in__source" data-line="273" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if PHP class \ZipArchive is enabled.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_zip_archive_enabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>If '\ZipArchive' class exists, return true, if not, return false.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_required_functions">
|
|
mainwp_required_functions()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_mainwp_required_functions" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">202</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.202" class="phpdocumentor-element-found-in__source" data-line="202" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check for disabled PHP functions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">mainwp_required_functions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_memory_usage">
|
|
memory_usage()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_memory_usage" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">509</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.509" class="phpdocumentor-element-found-in__source" data-line="509" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the current Memory usage.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">memory_usage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_server_self_connect">
|
|
server_self_connect()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_server_self_connect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">696</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.696" class="phpdocumentor-element-found-in__source" data-line="696" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Server self-connection test.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">server_self_connect</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_time_compare">
|
|
time_compare()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_time_compare" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-server-information-base.php"><a href="files/class-class-mainwp-child-server-information-base.html"><abbr title="class/class-mainwp-child-server-information-base.php">class-mainwp-child-server-information-base.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">784</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#source-view.784" class="phpdocumentor-element-found-in__source" data-line="784" data-modal="source-view" data-src="files/class/class-mainwp-child-server-information-base.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Time comparison.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">time_compare</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$a</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$b</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$a</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Time 1.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$b</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Time 2.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return 0 if $a is equal to $b, -1 if $a > $b or 1 if $a < $b.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-child-server-information-base.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_curlssl_compare">curlssl_compare()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_class_name">get_class_name()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_ssl_version">get_curl_ssl_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_support">get_curl_support()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_version">get_curl_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_db_size">get_db_size()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_file_system_method">get_file_system_method()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_my_sql_version">get_my_sql_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_openssl_working_status">get_openssl_working_status()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_memory_limit">get_php_memory_limit()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check">check()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_if_multisite">check_if_multisite()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory">check_mainwp_directory()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_filesize_compare">filesize_compare()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_architecture">get_architecture()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_bzip_enabled">get_bzip_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_complete_url">get_complete_url()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_curl_timeout">get_curl_timeout()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_page_uri">get_current_page_uri()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_current_version">get_current_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_gzip_enabled">get_gzip_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_http_host">get_http_host()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_https">get_https()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_loaded_php_extensions">get_loaded_php_extensions()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_mainwp_version">get_mainwp_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_execution_time">get_max_execution_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_max_input_time">get_max_input_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_os">get_os()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_output_buffer_size">get_output_buffer_size()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_allow_url_fopen">get_php_allow_url_fopen()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_exif">get_php_exif()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_ip_tc">get_php_ip_tc()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_safe_mode">get_php_safe_mode()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_version">get_php_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_php_xml">get_php_xml()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_post_max_size">get_post_max_size()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_address">get_remote_address()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_host">get_remote_host()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_remote_port">get_remote_port()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_script_file_name">get_script_file_name()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_accept_charset">get_server_accept_charset()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_getaway_interface">get_server_getaway_interface()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_http_accept">get_server_http_accept()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_ip">get_server_ip()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_name">get_server_name()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_port">get_server_port()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_protocol">get_server_protocol()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_request_time">get_server_request_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_server_software">get_server_software()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_sql_mode">get_sql_mode()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_support">get_ssl_support()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_ssl_warning">get_ssl_warning()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_upload_max_filesize">get_upload_max_filesize()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_user_agent">get_user_agent()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_memory_limit">get_wordpress_memory_limit()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wordpress_version">get_wordpress_version()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_wp_root">get_wp_root()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_get_zip_archive_enabled">get_zip_archive_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_mainwp_required_functions">mainwp_required_functions()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_memory_usage">memory_usage()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_server_self_connect">server_self_connect()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#method_time_compare">time_compare()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/MainWP-Child-MainWP-Child-Server-Information-Base.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|