</pre></div>
</div>
<p>The first parameter lets you set an offset, which defaults to 3 since your
URI will normally contain a controller/method pair in the first and second segments.
Example:</p>
<div class="highlight-ci"><div class="highlight"><pre><span></span><span class="nv">$array</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-&gt;</span><span class="na">uri</span><span class="o">-&gt;</span><span class="na">uri_to_assoc</span><span class="p">(</span><span class="mi">3</s