<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://archive.codecoupler.org/index.php?action=history&amp;feed=atom&amp;title=Tips_and_Tricks%3A_CodeIgniter</id>
	<title>Tips and Tricks: CodeIgniter - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://archive.codecoupler.org/index.php?action=history&amp;feed=atom&amp;title=Tips_and_Tricks%3A_CodeIgniter"/>
	<link rel="alternate" type="text/html" href="https://archive.codecoupler.org/index.php?title=Tips_and_Tricks:_CodeIgniter&amp;action=history"/>
	<updated>2026-05-03T00:39:53Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in CodeCoupler Wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://archive.codecoupler.org/index.php?title=Tips_and_Tricks:_CodeIgniter&amp;diff=301&amp;oldid=prev</id>
		<title>Tm: Die Seite wurde neu angelegt: „Remap params to index() function, without the need to write &quot;index&quot; into the url:  &lt;pre&gt; function _remap($method) { $param_offset = 2;   // Default to index if…“</title>
		<link rel="alternate" type="text/html" href="https://archive.codecoupler.org/index.php?title=Tips_and_Tricks:_CodeIgniter&amp;diff=301&amp;oldid=prev"/>
		<updated>2014-03-08T17:03:36Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Remap params to index() function, without the need to write &amp;quot;index&amp;quot; into the url:  &amp;lt;pre&amp;gt; function _remap($method) { $param_offset = 2;   // Default to index if…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Remap params to index() function, without the need to write &amp;quot;index&amp;quot; into the url:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function _remap($method)&lt;br /&gt;
{&lt;br /&gt;
$param_offset = 2;&lt;br /&gt;
 &lt;br /&gt;
// Default to index&lt;br /&gt;
if ( ! method_exists($this, $method))&lt;br /&gt;
{&lt;br /&gt;
// We need one more param&lt;br /&gt;
$param_offset = 1;&lt;br /&gt;
$method = &amp;#039;index&amp;#039;;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// Since all we get is $method, load up everything else in the URI&lt;br /&gt;
$params = array_slice($this-&amp;gt;uri-&amp;gt;rsegment_array(), $param_offset);&lt;br /&gt;
 &lt;br /&gt;
// Call the determined method with all params&lt;br /&gt;
call_user_func_array(array($this, $method), $params);&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tm</name></author>
	</entry>
</feed>