Update User Guide

This commit is contained in:
paulbalandan 2021-03-16 00:23:21 +00:00
parent e11ac10b3c
commit 922ec83d69
168 changed files with 226 additions and 181 deletions

View File

@ -394,7 +394,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -605,7 +605,7 @@ security, text, url</p></li>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -756,7 +756,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1041,7 +1041,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -804,7 +804,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -869,7 +869,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -730,7 +730,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -870,7 +870,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -737,7 +737,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -774,7 +774,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -848,7 +848,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -800,7 +800,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -698,7 +698,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -457,7 +457,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -384,7 +384,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -389,7 +389,7 @@ representation of some of the bigger changes you should know about.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -420,7 +420,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -412,7 +412,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -382,7 +382,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -374,7 +374,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -356,6 +356,7 @@
<li><p>New HTTP classes, <code class="docutils literal notranslate"><span class="pre">Cookie</span></code> and <code class="docutils literal notranslate"><span class="pre">CookieStore</span></code>, for abstracting web cookies.</p></li>
<li><p>New logger handler, <code class="docutils literal notranslate"><span class="pre">ErrorlogHandler</span></code>, that writes to <code class="docutils literal notranslate"><span class="pre">error_log()</span></code>.</p></li>
<li><p>Entity. Added custom type casting functionality.</p></li>
<li><p>New option in routing. The <code class="docutils literal notranslate"><span class="pre">priority</span></code> option lower the priority of specific route processing.</p></li>
</ul>
<p>Changes:</p>
<ul class="simple">
@ -400,7 +401,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -471,7 +471,7 @@ allows you to prompt a user for information, making it easy to build flexible, s
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -604,7 +604,7 @@ be familiar with when creating your own commands. It also has a <a class="refere
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -659,7 +659,7 @@ generation.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -617,7 +617,7 @@ waiting for a key press.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -410,7 +410,7 @@ but adds some accessor methods for convenience.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -375,7 +375,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -445,7 +445,7 @@ the first one to get a chance to locate the file.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -536,7 +536,7 @@ that single call will return a new or shared instance:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -476,7 +476,7 @@ of the HTTP response. This gives you an easy and powerful way to construct your
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -377,7 +377,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -427,7 +427,7 @@ you need.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -582,7 +582,7 @@ inappropriately.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -541,7 +541,7 @@ would simply use the frameworks <code class="docutils literal notranslate"><s
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -445,7 +445,7 @@ settings inside <code class="docutils literal notranslate"><span class="pre">app
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -405,7 +405,7 @@ database result ID. The connection ID can be accessed using:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -649,7 +649,7 @@ you are using MySQL.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -493,7 +493,7 @@ connections, you can explicitly close the connection.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -394,7 +394,7 @@ potentially missing indexes, slow queries, etc. An example usage might be:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -491,7 +491,7 @@ complement of functions for working with data.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -429,7 +429,7 @@ etc…):</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -384,7 +384,7 @@ patterns. The database functions offer clear, simple syntax.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -546,7 +546,7 @@ foreign key definitions.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -750,7 +750,7 @@ parameter is the value you want it replaced with:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -2794,7 +2794,7 @@ a <code class="docutils literal notranslate"><span class="pre">DELETE</span></co
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1053,7 +1053,7 @@ field meta-data.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -496,7 +496,7 @@ transactions, <strong>NOT</strong> <code class="docutils literal notranslate"><s
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -399,7 +399,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -979,7 +979,7 @@ change the name, you can add a “name” key into the field defining array.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -373,7 +373,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -792,7 +792,7 @@ have not yet been run, and runs them in order of their version (namespaces inter
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -494,7 +494,7 @@ seed file to <code class="docutils literal notranslate"><span class="pre">app/Bl
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -385,7 +385,7 @@ modules, projects, and the framework itself.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -422,7 +422,7 @@ Controller instead:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -378,7 +378,7 @@ attempting it.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -419,7 +419,7 @@ it a clearer target!</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -476,7 +476,7 @@ instead of the native ones (this is known as “method overriding”). This allo
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -471,7 +471,7 @@ When <strong>true</strong>, all events will be skipped over during the trigger m
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -376,7 +376,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -405,7 +405,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -423,7 +423,7 @@ have to expire normally.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1155,7 +1155,7 @@ instance every time.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -661,7 +661,7 @@ described above, using methods named for each configuration class you wish to ex
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -462,7 +462,7 @@ more detail in the Handling Different Environments section of the
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -513,7 +513,7 @@ redirect code to use instead of the default (<code class="docutils literal notra
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -524,7 +524,7 @@ Browse each one to see what they do.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -380,7 +380,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -558,7 +558,7 @@ alias to your new class name.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -429,7 +429,7 @@ modify <code class="docutils literal notranslate"><span class="pre">spark</span>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -569,7 +569,7 @@ file follows the same directory structures as the main application directory.</p
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -430,7 +430,7 @@ settings of the root and alias directives), and then sends the request to the in
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -911,7 +911,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -615,7 +615,7 @@ will be supplying an initial <code class="docutils literal notranslate"><span cl
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -486,7 +486,7 @@ parameters.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -445,7 +445,7 @@ module in CodeIgniter 4.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -711,7 +711,7 @@ cause an error to be triggered if the path cannot be resolved.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1296,7 +1296,7 @@ class instead of the generic helper function.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1081,7 +1081,7 @@ pulled from <cite>application/Config/DocTypes.php</cite>, or they could be over-
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -383,7 +383,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -643,7 +643,7 @@ Example:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -532,7 +532,7 @@ It will return null for any value outside that range .</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -454,7 +454,7 @@ It leaves the image URL as plain text.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -414,7 +414,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -1001,7 +1001,7 @@ at the end.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -957,7 +957,7 @@ any other applicable characters in the URL:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -426,7 +426,7 @@ character entities, e.g., &amp;#123;. Example:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -482,7 +482,7 @@ specify the type of compression the client supports:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -768,7 +768,7 @@ the $rules array with the name of the group as defined in <code class="docutils
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -573,7 +573,7 @@ a list of URI patterns that filter should apply to:</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -991,7 +991,7 @@ as an array.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -379,7 +379,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -712,7 +712,7 @@ Acceptable values are <code class="docutils literal notranslate"><span class="pr
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -386,7 +386,7 @@ with the default configuration, and must have additional packages enabled to wor
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -599,7 +599,7 @@ Can optionally filter the input when you retrieve it by passing in a filter.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -718,7 +718,7 @@ and <cite>presenter()</cite> with their corresponding Controller functions.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -372,16 +372,18 @@
<li><p><a class="reference internal" href="#limit-to-hostname" id="id18">Limit to Hostname</a></p></li>
<li><p><a class="reference internal" href="#limit-to-subdomains" id="id19">Limit to Subdomains</a></p></li>
<li><p><a class="reference internal" href="#offsetting-the-matched-parameters" id="id20">Offsetting the Matched Parameters</a></p></li>
<li><p><a class="reference internal" href="#route-processing-queue" id="id21">Route processing queue</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#routes-configuration-options" id="id21">Routes Configuration Options</a></p>
<li><p><a class="reference internal" href="#routes-configuration-options" id="id22">Routes Configuration Options</a></p>
<ul>
<li><p><a class="reference internal" href="#default-namespace" id="id22">Default Namespace</a></p></li>
<li><p><a class="reference internal" href="#default-controller" id="id23">Default Controller</a></p></li>
<li><p><a class="reference internal" href="#default-method" id="id24">Default Method</a></p></li>
<li><p><a class="reference internal" href="#translate-uri-dashes" id="id25">Translate URI Dashes</a></p></li>
<li><p><a class="reference internal" href="#use-defined-routes-only" id="id26">Use Defined Routes Only</a></p></li>
<li><p><a class="reference internal" href="#override" id="id27">404 Override</a></p></li>
<li><p><a class="reference internal" href="#default-namespace" id="id23">Default Namespace</a></p></li>
<li><p><a class="reference internal" href="#default-controller" id="id24">Default Controller</a></p></li>
<li><p><a class="reference internal" href="#default-method" id="id25">Default Method</a></p></li>
<li><p><a class="reference internal" href="#translate-uri-dashes" id="id26">Translate URI Dashes</a></p></li>
<li><p><a class="reference internal" href="#use-defined-routes-only" id="id27">Use Defined Routes Only</a></p></li>
<li><p><a class="reference internal" href="#override" id="id28">404 Override</a></p></li>
<li><p><a class="reference internal" href="#route-processing-by-priority" id="id29">Route processing by priority</a></p></li>
</ul>
</li>
</ul>
@ -812,13 +814,42 @@ be used when the first parameter is a language string:</p>
</pre></div>
</div>
</div>
<div class="section" id="route-processing-queue">
<span id="priority"></span><h3><a class="toc-backref" href="#id21">Route processing queue</a><a class="headerlink" href="#route-processing-queue" title="Permalink to this headline"></a></h3>
<p>When working with modules, it can be a problem if the routes in the application contain wildcards.
Then the module routes will not be processed correctly.
You can solve this problem by lowering the priority of route processing using the <code class="docutils literal notranslate"><span class="pre">priority</span></code> option. The parameter
accepts positive integers and zero. The higher the number specified in the “priority”, the lower
route priority in the processing queue:</p>
<div class="highlight-html+php notranslate"><div class="highlight"><pre><span></span><span class="c1">// First you need to enable sorting.</span>
<span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">setPrioritize</span><span class="p">();</span>
<span class="c1">// App\Config\Routes</span>
<span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">add</span><span class="p">(</span><span class="s1">&#39;(.*)&#39;</span><span class="p">,</span> <span class="s1">&#39;Posts::index&#39;</span><span class="p">,</span> <span class="p">[</span><span class="s1">&#39;priority&#39;</span> <span class="o">=&gt;</span> <span class="mi">1</span><span class="p">]);</span>
<span class="c1">// Modules\Acme\Config\Routes</span>
<span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">add</span><span class="p">(</span><span class="s1">&#39;admin&#39;</span><span class="p">,</span> <span class="s1">&#39;Admin::index&#39;</span><span class="p">);</span>
<span class="c1">// The &quot;admin&quot; route will now be processed before the wildcard router.</span>
</pre></div>
</div>
<p>To disable this functionality, you must call the method with the parameter <code class="docutils literal notranslate"><span class="pre">false</span></code>:</p>
<div class="highlight-html+php notranslate"><div class="highlight"><pre><span></span><span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">setPrioritize</span><span class="p">(</span><span class="k">false</span><span class="p">);</span>
</pre></div>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>By default, all routes have a priority of 0.
Negative integers will be cast to the absolute value.</p>
</div>
</div>
</div>
<div class="section" id="routes-configuration-options">
<h2><a class="toc-backref" href="#id21">Routes Configuration Options</a><a class="headerlink" href="#routes-configuration-options" title="Permalink to this headline"></a></h2>
<h2><a class="toc-backref" href="#id22">Routes Configuration Options</a><a class="headerlink" href="#routes-configuration-options" title="Permalink to this headline"></a></h2>
<p>The RoutesCollection class provides several options that affect all routes, and can be modified to meet your
applications needs. These options are available at the top of <cite>/app/Config/Routes.php</cite>.</p>
<div class="section" id="default-namespace">
<h3><a class="toc-backref" href="#id22">Default Namespace</a><a class="headerlink" href="#default-namespace" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id23">Default Namespace</a><a class="headerlink" href="#default-namespace" title="Permalink to this headline"></a></h3>
<p>When matching a controller to a route, the router will add the default namespace value to the front of the controller
specified by the route. By default, this value is empty, which leaves each route to specify the fully namespaced
controller:</p>
@ -844,7 +875,7 @@ then you can change this value to save typing:</p>
</div>
</div>
<div class="section" id="default-controller">
<h3><a class="toc-backref" href="#id23">Default Controller</a><a class="headerlink" href="#default-controller" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id24">Default Controller</a><a class="headerlink" href="#default-controller" title="Permalink to this headline"></a></h3>
<p>When a user visits the root of your site (i.e., example.com) the controller to use is determined by the value set by
the <code class="docutils literal notranslate"><span class="pre">setDefaultController()</span></code> method, unless a route exists for it explicitly. The default value for this is <code class="docutils literal notranslate"><span class="pre">Home</span></code>
which matches the controller at <code class="docutils literal notranslate"><span class="pre">/app/Controllers/Home.php</span></code>:</p>
@ -857,7 +888,7 @@ in the controllers directory. For example, if the user visits <code class="docut
<code class="docutils literal notranslate"><span class="pre">/app/Controllers/admin/Home.php</span></code> it would be used.</p>
</div>
<div class="section" id="default-method">
<h3><a class="toc-backref" href="#id24">Default Method</a><a class="headerlink" href="#default-method" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id25">Default Method</a><a class="headerlink" href="#default-method" title="Permalink to this headline"></a></h3>
<p>This works similar to the default controller setting, but is used to determine the default method that is used
when a controller is found that matches the URI, but no segment exists for the method. The default value is
<code class="docutils literal notranslate"><span class="pre">index</span></code>.</p>
@ -868,7 +899,7 @@ when a controller is found that matches the URI, but no segment exists for the m
</div>
</div>
<div class="section" id="translate-uri-dashes">
<h3><a class="toc-backref" href="#id25">Translate URI Dashes</a><a class="headerlink" href="#translate-uri-dashes" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id26">Translate URI Dashes</a><a class="headerlink" href="#translate-uri-dashes" title="Permalink to this headline"></a></h3>
<p>This option enables you to automatically replace dashes (-) with underscores in the controller and method
URI segments, thus saving you additional route entries if you need to do that. This is required because the
dash isnt a valid class or method name character and would cause a fatal error if you try to use it:</p>
@ -877,7 +908,7 @@ dash isnt a valid class or method name character and would cause a fatal erro
</div>
</div>
<div class="section" id="use-defined-routes-only">
<h3><a class="toc-backref" href="#id26">Use Defined Routes Only</a><a class="headerlink" href="#use-defined-routes-only" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id27">Use Defined Routes Only</a><a class="headerlink" href="#use-defined-routes-only" title="Permalink to this headline"></a></h3>
<p>When no defined route is found that matches the URI, the system will attempt to match that URI against the
controllers and methods as described above. You can disable this automatic matching, and restrict routes
to only those defined by you, by setting the <code class="docutils literal notranslate"><span class="pre">setAutoRoute()</span></code> option to false:</p>
@ -886,7 +917,7 @@ to only those defined by you, by setting the <code class="docutils literal notra
</div>
</div>
<div class="section" id="override">
<h3><a class="toc-backref" href="#id27">404 Override</a><a class="headerlink" href="#override" title="Permalink to this headline"></a></h3>
<h3><a class="toc-backref" href="#id28">404 Override</a><a class="headerlink" href="#override" title="Permalink to this headline"></a></h3>
<p>When a page is not found that matches the current URI, the system will show a generic 404 view. You can change
what happens by specifying an action to happen with the <code class="docutils literal notranslate"><span class="pre">set404Override()</span></code> option. The value can be either
a valid class/method pair, just like you would show in any route, or a Closure:</p>
@ -901,6 +932,19 @@ a valid class/method pair, just like you would show in any route, or a Closure:<
</pre></div>
</div>
</div>
<div class="section" id="route-processing-by-priority">
<h3><a class="toc-backref" href="#id29">Route processing by priority</a><a class="headerlink" href="#route-processing-by-priority" title="Permalink to this headline"></a></h3>
<p>Enables or disables processing of the routes queue by priority. Lowering the priority is defined in the route option.
Disabled by default. This functionality affects all routes.
For an example of use lowering the priority see <a class="reference internal" href="#priority"><span class="std std-ref">Route processing queue</span></a>:</p>
<div class="highlight-html+php notranslate"><div class="highlight"><pre><span></span><span class="c1">// to enable</span>
<span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">setPrioritize</span><span class="p">();</span>
<span class="c1">// to disable</span>
<span class="nv">$routes</span><span class="o">-&gt;</span><span class="na">setPrioritize</span><span class="p">(</span><span class="k">false</span><span class="p">);</span>
</pre></div>
</div>
</div>
</div>
</div>
@ -920,7 +964,7 @@ a valid class/method pair, just like you would show in any route, or a Closure:<
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -608,7 +608,7 @@
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -409,7 +409,7 @@ lines to enable “curl” and “intl”, for instance.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -527,7 +527,7 @@ they can be added to your project in a similar fashion.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

View File

@ -417,7 +417,7 @@ to the translations.</p>
<p>
&#169; Copyright 2019-2021 CodeIgniter Foundation.
<span class="lastupdated">
Last updated on Mar 15, 2021.
Last updated on Mar 16, 2021.
</span>
</p>

Some files were not shown because too many files have changed in this diff Show More