mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update User Guide
This commit is contained in:
parent
cc32d6f92d
commit
acf623c756
@ -324,6 +324,11 @@ and Traditional rules validate data of non-string types.</p>
|
||||
</section>
|
||||
<section id="deprecations">
|
||||
<h2><a class="toc-backref" href="#id6">Deprecations</a><a class="headerlink" href="#deprecations" title="Permalink to this headline"></a></h2>
|
||||
<ul class="simple">
|
||||
<li><p><strong>Request:</strong> The <a class="reference internal" href="../incoming/request.html#CodeIgniter\HTTP\Request::getEnv" title="CodeIgniter\HTTP\Request::getEnv"><code class="xref php php-meth docutils literal notranslate"><span class="pre">CodeIgniter\HTTP\Request::getEnv()</span></code></a> method is
|
||||
deprecated. This method does not work from the beginning. Use <a class="reference internal" href="../general/common_functions.html#env" title="env"><code class="xref php php-func docutils literal notranslate"><span class="pre">env()</span></code></a>
|
||||
instead.</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="bugs-fixed">
|
||||
<h2><a class="toc-backref" href="#id7">Bugs Fixed</a><a class="headerlink" href="#bugs-fixed" title="Permalink to this headline"></a></h2>
|
||||
|
@ -495,6 +495,10 @@ like this:</p>
|
||||
</section>
|
||||
<section id="getenv">
|
||||
<h4>getEnv()<a class="headerlink" href="#getenv" title="Permalink to this headline"></a></h4>
|
||||
<div class="deprecated">
|
||||
<p><span class="versionmodified deprecated">Deprecated since version 4.4.4: </span>This method does not work from the beginning. Use
|
||||
<a class="reference internal" href="../general/common_functions.html#env" title="env"><code class="xref php php-func docutils literal notranslate"><span class="pre">env()</span></code></a> instead.</p>
|
||||
</div>
|
||||
<p>The <code class="docutils literal notranslate"><span class="pre">getEnv()</span></code> method will pull from <code class="docutils literal notranslate"><span class="pre">$_ENV</span></code>.</p>
|
||||
<ul class="simple">
|
||||
<li><p><code class="docutils literal notranslate"><span class="pre">$request->getEnv()</span></code></p></li>
|
||||
|
@ -474,7 +474,11 @@ as an array.</p>
|
||||
<dl class="php method">
|
||||
<dt class="sig sig-object php" id="CodeIgniter\HTTP\Request::getEnv">
|
||||
<span class="sig-name descname"><span class="pre">getEnv</span></span><span class="sig-paren">(</span><span class="optional">[</span><em class="sig-param"><span class="pre">$index</span> <span class="pre">=</span> <span class="pre">null</span></em><span class="optional">[</span>, <em class="sig-param"><span class="pre">$filter</span> <span class="pre">=</span> <span class="pre">null</span></em><span class="optional">[</span>, <em class="sig-param"><span class="pre">$flags</span> <span class="pre">=</span> <span class="pre">null</span></em><span class="optional">]</span><span class="optional">]</span><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#CodeIgniter\HTTP\Request::getEnv" title="Permalink to this definition"></a></dt>
|
||||
<dd><dl class="field-list simple">
|
||||
<dd><div class="deprecated">
|
||||
<p><span class="versionmodified deprecated">Deprecated since version 4.4.4: </span>This method does not work from the beginning. Use
|
||||
<a class="reference internal" href="../general/common_functions.html#env" title="env"><code class="xref php php-func docutils literal notranslate"><span class="pre">env()</span></code></a> instead.</p>
|
||||
</div>
|
||||
<dl class="field-list simple">
|
||||
<dt class="field-odd">Parameters</dt>
|
||||
<dd class="field-odd"><ul class="simple">
|
||||
<li><p><strong>$index</strong> (<span><code class="xref php php-obj docutils literal notranslate"><span class="pre">mixed</span></code></span>) – Value name</p></li>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user