mirror of
https://gh.llkk.cc/https://github.com/mainwp/mainwp.dev.git
synced 2025-10-04 15:43:04 +08:00
3044 lines
154 KiB
HTML
3044 lines
154 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Dashboard Code Reference</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 href="https://fonts.googleapis.com/css2?family=Source+Sans+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" />
|
|
<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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></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 Dashboard Code Reference</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 -four phpdocumentor-sidebar">
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/default.html"><abbr title="\">Global</abbr></a></h3>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/mainwp.html"><abbr title="\MainWP">MainWP</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/mainwp-child.html"><abbr title="\MainWP\Child">Child</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/composer.html"><abbr title="\Composer">Composer</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/composer-autoload.html"><abbr title="\Composer\Autoload">Autoload</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/paragonie.html"><abbr title="\ParagonIE">ParagonIE</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/paragonie-constanttime.html"><abbr title="\ParagonIE\ConstantTime">ConstantTime</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/phpseclib3.html"><abbr title="\phpseclib3">phpseclib3</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/phpseclib3-common.html"><abbr title="\phpseclib3\Common">Common</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-crypt.html"><abbr title="\phpseclib3\Crypt">Crypt</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-exception.html"><abbr title="\phpseclib3\Exception">Exception</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-file.html"><abbr title="\phpseclib3\File">File</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-math.html"><abbr title="\phpseclib3\Math">Math</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-net.html"><abbr title="\phpseclib3\Net">Net</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-system.html"><abbr title="\phpseclib3\System">System</abbr></a></li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/MainWP.html"><abbr title="\MainWP">MainWP</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/MainWP-Child.html"><abbr title="\MainWP\Child">Child</abbr></a></li>
|
|
<li><a href="packages/MainWP-ChildCreditsPlugin.html"><abbr title="\MainWP\ChildCreditsPlugin">ChildCreditsPlugin</abbr></a></li>
|
|
<li><a href="packages/MainWP-Dashboard.html"><abbr title="\MainWP\Dashboard">Dashboard</abbr></a></li>
|
|
</ul>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/MainWPChild.html"><abbr title="\MainWPChild">MainWPChild</abbr></a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/ParagonIE.html"><abbr title="\ParagonIE">ParagonIE</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/ParagonIE-ConstantTime.html"><abbr title="\ParagonIE\ConstantTime">ConstantTime</abbr></a></li>
|
|
</ul>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Mainwp.html"><abbr title="\Mainwp">Mainwp</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/Mainwp-Child.html"><abbr title="\Mainwp\Child">Child</abbr></a></li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<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">
|
|
<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 -eight phpdocumentor-content">
|
|
<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>
|
|
|
|
<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>
|
|
</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="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"><p>Get class name.</p>
|
|
</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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<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="#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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<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="#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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<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-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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></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>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</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>
|
|
</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>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
</article>
|
|
<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>
|
|
</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>
|
|
</body>
|
|
</html>
|