Skip to content

Commit dfefe58

Browse files
committed
Updated API for commit dd409abfa09b4e15216eb5e3bc1ae790f0530579
1 parent a85cfee commit dfefe58

2 files changed

Lines changed: 80 additions & 9 deletions

File tree

docs/classes/CodeIgniter-Commands-Translation-LocalizationFinder.html

Lines changed: 75 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,14 @@ <h4 id="toc-methods">
488488
&nbsp;: array{'foundLanguageKeys': array<string,array<string,string>>, 'badLanguageKeys': array<int,array<int,string>>, 'countFiles': int} </span>
489489
</dt>
490490

491+
<dt class="phpdocumentor-table-of-contents__entry -method -private">
492+
<a class="" href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findResolvedTranslations">findResolvedTranslations()</a>
493+
<span>
494+
&nbsp;: array&lt;string, mixed&gt; </span>
495+
</dt>
496+
<dd>Loads the translations already resolvable for the given file and locale
497+
from every registered namespace (framework, packages, and app).</dd>
498+
491499
<dt class="phpdocumentor-table-of-contents__entry -method -private">
492500
<a class="" href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findTranslationsInFile">findTranslationsInFile()</a>
493501
<span>
@@ -1478,7 +1486,7 @@ <h4 class="phpdocumentor-element__name" id="method_arrayToTableRows">
14781486
<aside class="phpdocumentor-element-found-in">
14791487
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
14801488
:
1481-
<span class="phpdocumentor-element-found-in__line">327</span>
1489+
<span class="phpdocumentor-element-found-in__line">360</span>
14821490

14831491
</aside>
14841492

@@ -1534,7 +1542,7 @@ <h4 class="phpdocumentor-element__name" id="method_buildMultiArray">
15341542
<aside class="phpdocumentor-element-found-in">
15351543
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
15361544
:
1537-
<span class="phpdocumentor-element-found-in__line">308</span>
1545+
<span class="phpdocumentor-element-found-in__line">341</span>
15381546

15391547
</aside>
15401548

@@ -1590,7 +1598,7 @@ <h4 class="phpdocumentor-element__name" id="method_findLanguageKeysInFiles">
15901598
<aside class="phpdocumentor-element-found-in">
15911599
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
15921600
:
1593-
<span class="phpdocumentor-element-found-in__line">366</span>
1601+
<span class="phpdocumentor-element-found-in__line">399</span>
15941602

15951603
</aside>
15961604

@@ -1623,6 +1631,63 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
16231631
<span class="phpdocumentor-signature__response_type">array{'foundLanguageKeys': array<string,array<string,string>>, 'badLanguageKeys': array<int,array<int,string>>, 'countFiles': int}</span>
16241632
</section>
16251633

1634+
</article>
1635+
<article
1636+
class="phpdocumentor-element
1637+
-method
1638+
-private
1639+
"
1640+
>
1641+
<h4 class="phpdocumentor-element__name" id="method_findResolvedTranslations">
1642+
findResolvedTranslations()
1643+
<a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findResolvedTranslations" class="headerlink"><i class="fas fa-link"></i></a>
1644+
1645+
</h4>
1646+
<aside class="phpdocumentor-element-found-in">
1647+
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
1648+
:
1649+
<span class="phpdocumentor-element-found-in__line">190</span>
1650+
1651+
</aside>
1652+
1653+
<p class="phpdocumentor-summary">Loads the translations already resolvable for the given file and locale
1654+
from every registered namespace (framework, packages, and app).</p>
1655+
1656+
<code class="phpdocumentor-code phpdocumentor-signature ">
1657+
<span class="phpdocumentor-signature__visibility">private</span>
1658+
<span class="phpdocumentor-signature__name">findResolvedTranslations</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$langFileName</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$currentLocale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string, mixed&gt;</span></code>
1659+
1660+
<div class="phpdocumentor-label-line">
1661+
</div>
1662+
1663+
1664+
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
1665+
<dl class="phpdocumentor-argument-list">
1666+
<dt class="phpdocumentor-argument-list__entry">
1667+
<span class="phpdocumentor-argument-list__argument__name">$langFileName</span>
1668+
: <span class="phpdocumentor-argument-list__argument__type">string</span>
1669+
</dt>
1670+
<dd class="phpdocumentor-argument-list__definition">
1671+
1672+
</dd>
1673+
<dt class="phpdocumentor-argument-list__entry">
1674+
<span class="phpdocumentor-argument-list__argument__name">$currentLocale</span>
1675+
: <span class="phpdocumentor-argument-list__argument__type">string</span>
1676+
</dt>
1677+
<dd class="phpdocumentor-argument-list__definition">
1678+
1679+
</dd>
1680+
</dl>
1681+
1682+
1683+
1684+
1685+
1686+
<section>
1687+
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
1688+
<span class="phpdocumentor-signature__response_type">array&lt;string, mixed&gt;</span>
1689+
</section>
1690+
16261691
</article>
16271692
<article
16281693
class="phpdocumentor-element
@@ -1638,7 +1703,7 @@ <h4 class="phpdocumentor-element__name" id="method_findTranslationsInFile">
16381703
<aside class="phpdocumentor-element-found-in">
16391704
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
16401705
:
1641-
<span class="phpdocumentor-element-found-in__line">185</span>
1706+
<span class="phpdocumentor-element-found-in__line">218</span>
16421707

16431708
</aside>
16441709

@@ -1686,7 +1751,7 @@ <h4 class="phpdocumentor-element__name" id="method_isIgnoredFile">
16861751
<aside class="phpdocumentor-element-found-in">
16871752
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
16881753
:
1689-
<span class="phpdocumentor-element-found-in__line">234</span>
1754+
<span class="phpdocumentor-element-found-in__line">267</span>
16901755

16911756
</aside>
16921757

@@ -1734,7 +1799,7 @@ <h4 class="phpdocumentor-element__name" id="method_isSubDirectory">
17341799
<aside class="phpdocumentor-element-found-in">
17351800
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
17361801
:
1737-
<span class="phpdocumentor-element-found-in__line">356</span>
1802+
<span class="phpdocumentor-element-found-in__line">389</span>
17381803

17391804
</aside>
17401805

@@ -1840,7 +1905,7 @@ <h4 class="phpdocumentor-element__name" id="method_replaceArraySyntax">
18401905
<aside class="phpdocumentor-element-found-in">
18411906
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
18421907
:
1843-
<span class="phpdocumentor-element-found-in__line">266</span>
1908+
<span class="phpdocumentor-element-found-in__line">299</span>
18441909

18451910
</aside>
18461911

@@ -1888,7 +1953,7 @@ <h4 class="phpdocumentor-element__name" id="method_templateFile">
18881953
<aside class="phpdocumentor-element-found-in">
18891954
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
18901955
:
1891-
<span class="phpdocumentor-element-found-in__line">243</span>
1956+
<span class="phpdocumentor-element-found-in__line">276</span>
18921957

18931958
</aside>
18941959

@@ -1936,7 +2001,7 @@ <h4 class="phpdocumentor-element__name" id="method_writeIsVerbose">
19362001
<aside class="phpdocumentor-element-found-in">
19372002
<abbr class="phpdocumentor-element-found-in__file" title="system/Commands/Translation/LocalizationFinder.php"><a href="files/system-commands-translation-localizationfinder.html"><abbr title="system/Commands/Translation/LocalizationFinder.php">LocalizationFinder.php</abbr></a></abbr>
19382003
:
1939-
<span class="phpdocumentor-element-found-in__line">349</span>
2004+
<span class="phpdocumentor-element-found-in__line">382</span>
19402005

19412006
</aside>
19422007

@@ -2032,6 +2097,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
20322097
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_arrayToTableRows">arrayToTableRows()</a></li>
20332098
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_buildMultiArray">buildMultiArray()</a></li>
20342099
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findLanguageKeysInFiles">findLanguageKeysInFiles()</a></li>
2100+
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findResolvedTranslations">findResolvedTranslations()</a></li>
20352101
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findTranslationsInFile">findTranslationsInFile()</a></li>
20362102
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_isIgnoredFile">isIgnoredFile()</a></li>
20372103
<li class=""><a href="classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_isSubDirectory">isSubDirectory()</a></li>

docs/js/searchIndex.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4255,6 +4255,11 @@ Search.appendIndex(
42554255
"name": "process",
42564256
"summary": "",
42574257
"url": "classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_process"
4258+
}, {
4259+
"fqsen": "\\CodeIgniter\\Commands\\Translation\\LocalizationFinder\u003A\u003AfindResolvedTranslations\u0028\u0029",
4260+
"name": "findResolvedTranslations",
4261+
"summary": "Loads\u0020the\u0020translations\u0020already\u0020resolvable\u0020for\u0020the\u0020given\u0020file\u0020and\u0020locale\nfrom\u0020every\u0020registered\u0020namespace\u0020\u0028framework,\u0020packages,\u0020and\u0020app\u0029.",
4262+
"url": "classes/CodeIgniter-Commands-Translation-LocalizationFinder.html#method_findResolvedTranslations"
42584263
}, {
42594264
"fqsen": "\\CodeIgniter\\Commands\\Translation\\LocalizationFinder\u003A\u003AfindTranslationsInFile\u0028\u0029",
42604265
"name": "findTranslationsInFile",

0 commit comments

Comments
 (0)