Skip to content

Commit ba3a120

Browse files
committed
Release 4.0.2
1 parent 056fc69 commit ba3a120

File tree

8 files changed

+493
-34
lines changed

8 files changed

+493
-34
lines changed

CodeIgniter4.0.2.epub

894 KB
Binary file not shown.

docs/_static/css/citheme.css

+83-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,41 @@
11
@import 'theme.css';
22

3-
.highlighted {
4-
padding: 0px !important;
5-
font-weight: inherit !important;
6-
background-color: #f1d40f !important;
3+
/* Titles ------------------------------------------------------------------- */
4+
5+
h1 {
6+
margin-bottom: 2rem;
7+
}
8+
9+
h2, h3 {
10+
margin-bottom: 2rem;
11+
margin-top: 3rem;
12+
}
13+
14+
/* Images ------------------------------------------------------------------- */
15+
16+
.rst-content img {
17+
-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
18+
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
19+
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
20+
display: block;
21+
height: auto!important;
22+
margin: 3rem auto!important;
23+
max-width: 700px;
24+
width: 100%!important;
725
}
826

27+
.rst-content img.align-left {
28+
margin-right: 2rem!important;
29+
max-width: 375px;
30+
}
31+
32+
.rst-content img.align-right {
33+
margin-left: 2rem!important;
34+
max-width: 400px;
35+
}
36+
37+
/* Navigation --------------------------------------------------------------- */
38+
939
#nav {
1040
background-color: #494949!important;
1141
margin: 0;
@@ -72,10 +102,24 @@ div#pulldown-menu {
72102
color: #aaaaaa;
73103
}
74104

105+
/* Side Menu ---------------------------------------------------------------- */
106+
75107
.wy-side-nav-search a {
76108
color: #ffffff;
77109
}
78110

111+
.wy-side-nav-search input[type=text] {
112+
border-color: #dd4815;
113+
}
114+
115+
.wy-nav-top {
116+
background-color: #dd4814;
117+
}
118+
119+
.wy-nav-top a {
120+
color: #ffffff!important;
121+
}
122+
79123
.wy-menu-vertical a:active {
80124
background-color: #dd4814;
81125
}
@@ -92,21 +136,51 @@ div#pulldown-menu {
92136
color: #97310e;
93137
}
94138

139+
/* Elements ----------------------------------------------------------------- */
140+
141+
.highlighted {
142+
padding: 0px !important;
143+
font-weight: inherit !important;
144+
background-color: #f1d40f !important;
145+
}
146+
95147
.wy-alert.wy-alert-success .wy-alert-title, .rst-content .wy-alert-success.note .wy-alert-title, .rst-content .wy-alert-success.attention .wy-alert-title, .rst-content .wy-alert-success.caution .wy-alert-title, .rst-content .wy-alert-success.danger .wy-alert-title, .rst-content .wy-alert-success.error .wy-alert-title, .rst-content .hint .wy-alert-title, .rst-content .important .wy-alert-title, .rst-content .tip .wy-alert-title, .rst-content .wy-alert-success.warning .wy-alert-title, .rst-content .wy-alert-success.seealso .wy-alert-title, .rst-content .wy-alert-success.admonition-todo .wy-alert-title, .wy-alert.wy-alert-success .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-success .admonition-title, .rst-content .wy-alert-success.note .admonition-title, .rst-content .wy-alert-success.attention .admonition-title, .rst-content .wy-alert-success.caution .admonition-title, .rst-content .wy-alert-success.danger .admonition-title, .rst-content .wy-alert-success.error .admonition-title, .rst-content .hint .admonition-title, .rst-content .important .admonition-title, .rst-content .tip .admonition-title, .rst-content .wy-alert-success.warning .admonition-title, .rst-content .wy-alert-success.seealso .admonition-title, .rst-content .wy-alert-success.admonition-todo .admonition-title {
96148
background-color: #dd4814;
97149
}
98150

99151
.wy-alert.wy-alert-success, .rst-content .wy-alert-success.note, .rst-content .wy-alert-success.attention, .rst-content .wy-alert-success.caution, .rst-content .wy-alert-success.danger, .rst-content .wy-alert-success.error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .wy-alert-success.warning, .rst-content .wy-alert-success.seealso, .rst-content .wy-alert-success.admonition-todo {
100-
background: rgba(0,0,0,0.05);
152+
background: rgba(0,0,0,0.05);
101153
}
102154

103155
/* override table width restrictions */
104156
.wy-table-responsive table td, .wy-table-responsive table th {
105-
white-space: normal;
157+
white-space: normal;
106158
}
107159

108160
.wy-table-responsive {
109-
margin-bottom: 24px;
110-
max-width: 100%;
111-
overflow: visible;
161+
margin-bottom: 24px;
162+
max-width: 100%;
163+
overflow: visible;
164+
}
165+
166+
.rst-content dl:not(.docutils) dt {
167+
background: #fbefeb;
168+
color: #dd4814;
169+
border-top: solid 3px #dd4814;
170+
}
171+
172+
.wy-plain-list-disc li ul, .rst-content .section ul li ul, .rst-content .toctree-wrapper ul li ul, article ul li ul {
173+
margin-bottom: 0.5rem;
174+
margin-top: -0.5rem;
175+
}
176+
177+
.rst-content dl:not(.docutils) dt:first-child {
178+
margin-top: 1rem;
179+
}
180+
181+
/* Footer ------------------------------------------------------------------- */
182+
183+
.rst-footer-buttons {
184+
margin-bottom: 2.5rem;
185+
margin-top: 2.5rem;
112186
}

docs/changelogs/v4.0.2.html

+385
Large diffs are not rendered by default.

docs/genindex.html

+1-1
Large diffs are not rendered by default.

docs/incoming/filters.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,10 @@ <h1>Controller Filters<a class="headerlink" href="#controller-filters" title="Pe
346346
<li><a class="reference internal" href="#aliases" id="id5">$aliases</a></li>
347347
<li><a class="reference internal" href="#globals" id="id6">$globals</a></li>
348348
<li><a class="reference internal" href="#methods" id="id7">$methods</a></li>
349+
<li><a class="reference internal" href="#filters" id="id8">$filters</a></li>
349350
</ul>
350351
</li>
351-
<li><a class="reference internal" href="#provided-filters" id="id8">Provided Filters</a></li>
352+
<li><a class="reference internal" href="#provided-filters" id="id9">Provided Filters</a></li>
352353
</ul>
353354
</div>
354355
<p>Controller Filters allow you to perform actions either before or after the controllers execute. Unlike <a class="reference internal" href="../extending/events.html"><span class="doc">events</span></a>,
@@ -504,10 +505,9 @@ <h3><a class="toc-backref" href="#id7">$methods</a><a class="headerlink" href="#
504505
<p class="first admonition-title">Note</p>
505506
<p class="last">The AJAX requests depends on the <code class="docutils literal notranslate"><span class="pre">X-Requested-With</span></code> header, which in some cases is not sent by default in XHR requests via JavaScript (i.e. fetch). See the <a class="reference internal" href="../general/ajax.html"><span class="doc">AJAX Requests</span></a> section on how to avoid this problem.</p>
506507
</div>
507-
<div class="highlight-ci notranslate"><div class="highlight"><pre><span></span><span class="nv">$filters</span>
508-
</pre></div>
509508
</div>
510-
<hr class="docutils" />
509+
<div class="section" id="filters">
510+
<h3><a class="toc-backref" href="#id8">$filters</a><a class="headerlink" href="#filters" title="Permalink to this headline"></a></h3>
511511
<p>This property is an array of filter aliases. For each alias, you can specify before and after arrays that contain
512512
a list of URI patterns that filter should apply to:</p>
513513
<div class="highlight-ci notranslate"><div class="highlight"><pre><span></span><span class="k">public</span> <span class="nx">filters</span> <span class="o">=</span> <span class="p">[</span>
@@ -519,7 +519,7 @@ <h3><a class="toc-backref" href="#id7">$methods</a><a class="headerlink" href="#
519519
</div>
520520
</div>
521521
<div class="section" id="provided-filters">
522-
<h2><a class="toc-backref" href="#id8">Provided Filters</a><a class="headerlink" href="#provided-filters" title="Permalink to this headline"></a></h2>
522+
<h2><a class="toc-backref" href="#id9">Provided Filters</a><a class="headerlink" href="#provided-filters" title="Permalink to this headline"></a></h2>
523523
<p>Three filters are bundled with CodeIgniter4: Honeypot, Security, and DebugToolbar.</p>
524524
</div>
525525
</div>

docs/libraries/caching.html

+18-18
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ <h3><a class="toc-backref" href="#id2">Configuring the Cache</a><a class="header
402402
<div class="section" id="class-reference">
403403
<h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink" href="#class-reference" title="Permalink to this headline"></a></h2>
404404
<dl class="method">
405-
<dt id="isSupported">
406-
<code class="descname">isSupported</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#isSupported" title="Permalink to this definition"></a></dt>
405+
<dt>
406+
<code class="descname">isSupported()</code></dt>
407407
<dd><table class="docutils field-list" frame="void" rules="none">
408408
<col class="field-name" />
409409
<col class="field-body" />
@@ -417,8 +417,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
417417
</dd></dl>
418418

419419
<dl class="method">
420-
<dt id="get">
421-
<code class="descname">get</code><span class="sig-paren">(</span><em>$key</em><span class="sig-paren">)</span><a class="headerlink" href="#get" title="Permalink to this definition"></a></dt>
420+
<dt>
421+
<code class="descname">get($key)</code></dt>
422422
<dd><table class="docutils field-list" frame="void" rules="none">
423423
<col class="field-name" />
424424
<col class="field-body" />
@@ -445,8 +445,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
445445
</dd></dl>
446446

447447
<dl class="method">
448-
<dt id="save">
449-
<code class="descname">save</code><span class="sig-paren">(</span><em>$key</em>, <em>$data</em><span class="optional">[</span>, <em>$ttl = 60</em><span class="optional">[</span>, <em>$raw = FALSE</em><span class="optional">]</span><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#save" title="Permalink to this definition"></a></dt>
448+
<dt>
449+
<code class="descname">save($key, $data[, $ttl = 60[, $raw = FALSE]])</code></dt>
450450
<dd><table class="docutils field-list" frame="void" rules="none">
451451
<col class="field-name" />
452452
<col class="field-body" />
@@ -481,8 +481,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
481481
in order to allow usage of <code class="docutils literal notranslate"><span class="pre">increment()</span></code> and <code class="docutils literal notranslate"><span class="pre">decrement()</span></code>.</p>
482482
</div>
483483
<dl class="method">
484-
<dt id="delete">
485-
<code class="descname">delete</code><span class="sig-paren">(</span><em>$key</em><span class="sig-paren">)</span><a class="headerlink" href="#delete" title="Permalink to this definition"></a></dt>
484+
<dt>
485+
<code class="descname">delete($key)</code></dt>
486486
<dd><table class="docutils field-list" frame="void" rules="none">
487487
<col class="field-name" />
488488
<col class="field-body" />
@@ -509,8 +509,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
509509
</dd></dl>
510510

511511
<dl class="method">
512-
<dt id="increment">
513-
<code class="descname">increment</code><span class="sig-paren">(</span><em>$key</em><span class="optional">[</span>, <em>$offset = 1</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#increment" title="Permalink to this definition"></a></dt>
512+
<dt>
513+
<code class="descname">increment($key[, $offset = 1])</code></dt>
514514
<dd><table class="docutils field-list" frame="void" rules="none">
515515
<col class="field-name" />
516516
<col class="field-body" />
@@ -541,8 +541,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
541541
</dd></dl>
542542

543543
<dl class="method">
544-
<dt id="decrement">
545-
<code class="descname">decrement</code><span class="sig-paren">(</span><em>$key</em><span class="optional">[</span>, <em>$offset = 1</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#decrement" title="Permalink to this definition"></a></dt>
544+
<dt>
545+
<code class="descname">decrement($key[, $offset = 1])</code></dt>
546546
<dd><table class="docutils field-list" frame="void" rules="none">
547547
<col class="field-name" />
548548
<col class="field-body" />
@@ -573,8 +573,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
573573
</dd></dl>
574574

575575
<dl class="method">
576-
<dt id="clean">
577-
<code class="descname">clean</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#clean" title="Permalink to this definition"></a></dt>
576+
<dt>
577+
<code class="descname">clean()</code></dt>
578578
<dd><table class="docutils field-list" frame="void" rules="none">
579579
<col class="field-name" />
580580
<col class="field-body" />
@@ -594,8 +594,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
594594
</dd></dl>
595595

596596
<dl class="method">
597-
<dt id="cache_info">
598-
<code class="descname">cache_info</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cache_info" title="Permalink to this definition"></a></dt>
597+
<dt>
598+
<code class="descname">cache_info()</code></dt>
599599
<dd><table class="docutils field-list" frame="void" rules="none">
600600
<col class="field-name" />
601601
<col class="field-body" />
@@ -619,8 +619,8 @@ <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink"
619619
on which adapter is being used.</p>
620620
</div>
621621
<dl class="method">
622-
<dt id="getMetadata">
623-
<code class="descname">getMetadata</code><span class="sig-paren">(</span><em>$key</em><span class="sig-paren">)</span><a class="headerlink" href="#getMetadata" title="Permalink to this definition"></a></dt>
622+
<dt>
623+
<code class="descname">getMetadata($key)</code></dt>
624624
<dd><table class="docutils field-list" frame="void" rules="none">
625625
<col class="field-name" />
626626
<col class="field-body" />

docs/objects.inv

-45 Bytes
Binary file not shown.

docs/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)