Skip to content

Commit 48b98ba

Browse files
committed
Updated API for commit 9b14ad94fb8f1b28dffd36960ace0063c7af2b95
1 parent 28d37b6 commit 48b98ba

76 files changed

Lines changed: 2195 additions & 6654 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/classes/CodeIgniter-API-ResponseTrait.html

Lines changed: 22 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ <h4 id="toc-properties">
308308
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
309309
<a class="" href="classes/CodeIgniter-API-ResponseTrait.html#property_format">$format</a>
310310
<span>
311-
&nbsp;: string|null </span>
311+
&nbsp;: "html"|"json"|"xml"|null </span>
312312
</dt>
313313
<dd>How to format the response data.</dd>
314314

@@ -555,7 +555,7 @@ <h4 class="phpdocumentor-element__name" id="property_format">
555555
<aside class="phpdocumentor-element-found-in">
556556
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
557557
:
558-
<span class="phpdocumentor-element-found-in__line">75</span>
558+
<span class="phpdocumentor-element-found-in__line">74</span>
559559

560560
</aside>
561561

@@ -564,7 +564,7 @@ <h4 class="phpdocumentor-element__name" id="property_format">
564564

565565
<code class="phpdocumentor-code phpdocumentor-signature ">
566566
<span class="phpdocumentor-signature__visibility">protected</span>
567-
<span class="phpdocumentor-signature__type">string|null</span>
567+
<span class="phpdocumentor-signature__type">"html"|"json"|"xml"|null</span>
568568
<span class="phpdocumentor-signature__name">$format</span>
569569
= <span class="phpdocumentor-signature__default-value">&#039;json&#039;</span></code>
570570

@@ -574,22 +574,6 @@ <h4 class="phpdocumentor-element__name" id="property_format">
574574

575575

576576

577-
<h5 class="phpdocumentor-tag-list__heading" id="tags">
578-
Tags
579-
<a href="classes/CodeIgniter-API-ResponseTrait.html#property_format#tags" class="headerlink"><i class="fas fa-link"></i></a>
580-
581-
</h5>
582-
<dl class="phpdocumentor-tag-list">
583-
<dt class="phpdocumentor-tag-list__entry">
584-
<span class="phpdocumentor-tag__name">phpstan-var</span>
585-
</dt>
586-
<dd class="phpdocumentor-tag-list__definition">
587-
588-
<section class="phpdocumentor-description"><p>'html'|'json'|'xml'|null</p>
589-
</section>
590-
591-
</dd>
592-
</dl>
593577

594578

595579

@@ -611,7 +595,7 @@ <h4 class="phpdocumentor-element__name" id="property_formatter">
611595
<aside class="phpdocumentor-element-found-in">
612596
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
613597
:
614-
<span class="phpdocumentor-element-found-in__line">82</span>
598+
<span class="phpdocumentor-element-found-in__line">81</span>
615599

616600
</aside>
617601

@@ -653,7 +637,7 @@ <h4 class="phpdocumentor-element__name" id="method_fail">
653637
<aside class="phpdocumentor-element-found-in">
654638
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
655639
:
656-
<span class="phpdocumentor-element-found-in__line">128</span>
640+
<span class="phpdocumentor-element-found-in__line">127</span>
657641

658642
</aside>
659643

@@ -727,7 +711,7 @@ <h4 class="phpdocumentor-element__name" id="method_failForbidden">
727711
<aside class="phpdocumentor-element-found-in">
728712
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
729713
:
730-
<span class="phpdocumentor-element-found-in__line">212</span>
714+
<span class="phpdocumentor-element-found-in__line">211</span>
731715

732716
</aside>
733717

@@ -791,7 +775,7 @@ <h4 class="phpdocumentor-element__name" id="method_failNotFound">
791775
<aside class="phpdocumentor-element-found-in">
792776
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
793777
:
794-
<span class="phpdocumentor-element-found-in__line">222</span>
778+
<span class="phpdocumentor-element-found-in__line">221</span>
795779

796780
</aside>
797781

@@ -854,7 +838,7 @@ <h4 class="phpdocumentor-element__name" id="method_failResourceExists">
854838
<aside class="phpdocumentor-element-found-in">
855839
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
856840
:
857-
<span class="phpdocumentor-element-found-in__line">244</span>
841+
<span class="phpdocumentor-element-found-in__line">243</span>
858842

859843
</aside>
860844

@@ -917,7 +901,7 @@ <h4 class="phpdocumentor-element__name" id="method_failResourceGone">
917901
<aside class="phpdocumentor-element-found-in">
918902
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
919903
:
920-
<span class="phpdocumentor-element-found-in__line">256</span>
904+
<span class="phpdocumentor-element-found-in__line">255</span>
921905

922906
</aside>
923907

@@ -982,7 +966,7 @@ <h4 class="phpdocumentor-element__name" id="method_failServerError">
982966
<aside class="phpdocumentor-element-found-in">
983967
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
984968
:
985-
<span class="phpdocumentor-element-found-in__line">278</span>
969+
<span class="phpdocumentor-element-found-in__line">277</span>
986970

987971
</aside>
988972

@@ -1051,7 +1035,7 @@ <h4 class="phpdocumentor-element__name" id="method_failTooManyRequests">
10511035
<aside class="phpdocumentor-element-found-in">
10521036
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
10531037
:
1054-
<span class="phpdocumentor-element-found-in__line">266</span>
1038+
<span class="phpdocumentor-element-found-in__line">265</span>
10551039

10561040
</aside>
10571041

@@ -1114,7 +1098,7 @@ <h4 class="phpdocumentor-element__name" id="method_failUnauthorized">
11141098
<aside class="phpdocumentor-element-found-in">
11151099
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
11161100
:
1117-
<span class="phpdocumentor-element-found-in__line">201</span>
1101+
<span class="phpdocumentor-element-found-in__line">200</span>
11181102

11191103
</aside>
11201104

@@ -1179,7 +1163,7 @@ <h4 class="phpdocumentor-element__name" id="method_failValidationErrors">
11791163
<aside class="phpdocumentor-element-found-in">
11801164
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
11811165
:
1182-
<span class="phpdocumentor-element-found-in__line">234</span>
1166+
<span class="phpdocumentor-element-found-in__line">233</span>
11831167

11841168
</aside>
11851169

@@ -1242,7 +1226,7 @@ <h4 class="phpdocumentor-element__name" id="method_format">
12421226
<aside class="phpdocumentor-element-found-in">
12431227
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
12441228
:
1245-
<span class="phpdocumentor-element-found-in__line">295</span>
1229+
<span class="phpdocumentor-element-found-in__line">294</span>
12461230

12471231
</aside>
12481232

@@ -1292,7 +1276,7 @@ <h4 class="phpdocumentor-element__name" id="method_respond">
12921276
<aside class="phpdocumentor-element-found-in">
12931277
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
12941278
:
1295-
<span class="phpdocumentor-element-found-in__line">92</span>
1279+
<span class="phpdocumentor-element-found-in__line">91</span>
12961280

12971281
</aside>
12981282

@@ -1356,7 +1340,7 @@ <h4 class="phpdocumentor-element__name" id="method_respondCreated">
13561340
<aside class="phpdocumentor-element-found-in">
13571341
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
13581342
:
1359-
<span class="phpdocumentor-element-found-in__line">154</span>
1343+
<span class="phpdocumentor-element-found-in__line">153</span>
13601344

13611345
</aside>
13621346

@@ -1412,7 +1396,7 @@ <h4 class="phpdocumentor-element__name" id="method_respondDeleted">
14121396
<aside class="phpdocumentor-element-found-in">
14131397
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
14141398
:
1415-
<span class="phpdocumentor-element-found-in__line">166</span>
1399+
<span class="phpdocumentor-element-found-in__line">165</span>
14161400

14171401
</aside>
14181402

@@ -1468,7 +1452,7 @@ <h4 class="phpdocumentor-element__name" id="method_respondNoContent">
14681452
<aside class="phpdocumentor-element-found-in">
14691453
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
14701454
:
1471-
<span class="phpdocumentor-element-found-in__line">189</span>
1455+
<span class="phpdocumentor-element-found-in__line">188</span>
14721456

14731457
</aside>
14741458

@@ -1518,7 +1502,7 @@ <h4 class="phpdocumentor-element__name" id="method_respondUpdated">
15181502
<aside class="phpdocumentor-element-found-in">
15191503
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
15201504
:
1521-
<span class="phpdocumentor-element-found-in__line">178</span>
1505+
<span class="phpdocumentor-element-found-in__line">177</span>
15221506

15231507
</aside>
15241508

@@ -1574,15 +1558,15 @@ <h4 class="phpdocumentor-element__name" id="method_setResponseFormat">
15741558
<aside class="phpdocumentor-element-found-in">
15751559
<abbr class="phpdocumentor-element-found-in__file" title="system/API/ResponseTrait.php"><a href="files/system-api-responsetrait.html"><abbr title="system/API/ResponseTrait.php">ResponseTrait.php</abbr></a></abbr>
15761560
:
1577-
<span class="phpdocumentor-element-found-in__line">356</span>
1561+
<span class="phpdocumentor-element-found-in__line">354</span>
15781562

15791563
</aside>
15801564

15811565
<p class="phpdocumentor-summary">Sets the format the response should be in.</p>
15821566

15831567
<code class="phpdocumentor-code phpdocumentor-signature ">
15841568
<span class="phpdocumentor-signature__visibility">protected</span>
1585-
<span class="phpdocumentor-signature__name">setResponseFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</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">$this</span></code>
1569+
<span class="phpdocumentor-signature__name">setResponseFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">"json"|"xml"&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</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">$this</span></code>
15861570

15871571
<div class="phpdocumentor-label-line">
15881572
</div>
@@ -1592,7 +1576,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
15921576
<dl class="phpdocumentor-argument-list">
15931577
<dt class="phpdocumentor-argument-list__entry">
15941578
<span class="phpdocumentor-signature__argument__name">$format</span>
1595-
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
1579+
: <span class="phpdocumentor-signature__argument__return-type">"json"|"xml"</span>
15961580
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
15971581
<dd class="phpdocumentor-argument-list__definition">
15981582
<section class="phpdocumentor-description"><p>Response format</p>
@@ -1602,22 +1586,6 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
16021586
</dl>
16031587

16041588

1605-
<h5 class="phpdocumentor-tag-list__heading" id="tags">
1606-
Tags
1607-
<a href="classes/CodeIgniter-API-ResponseTrait.html#method_setResponseFormat#tags" class="headerlink"><i class="fas fa-link"></i></a>
1608-
1609-
</h5>
1610-
<dl class="phpdocumentor-tag-list">
1611-
<dt class="phpdocumentor-tag-list__entry">
1612-
<span class="phpdocumentor-tag__name">phpstan-param</span>
1613-
</dt>
1614-
<dd class="phpdocumentor-tag-list__definition">
1615-
1616-
<section class="phpdocumentor-description"><p>'json'|'xml' $format</p>
1617-
</section>
1618-
1619-
</dd>
1620-
</dl>
16211589

16221590

16231591

0 commit comments

Comments
 (0)