Welcome Guest, Not a member yet? Register   Sign In
Where to put functions / classes?
#2

[eluser]meigwilym[/eluser]
If you want to achieve that kind of structure then you need to set a few routes http://ellislab.com/codeigniter/user-gui...uting.html

In this case something like

Code:
$route['model/(:any)'] = "mobile/getphone/$1";

Mei


Messages In This Thread
Where to put functions / classes? - by El Forum - 02-01-2012, 04:08 AM
Where to put functions / classes? - by El Forum - 02-01-2012, 04:14 AM
Where to put functions / classes? - by El Forum - 02-01-2012, 04:27 AM
Where to put functions / classes? - by El Forum - 02-01-2012, 05:28 AM
Where to put functions / classes? - by El Forum - 02-01-2012, 05:48 AM
Where to put functions / classes? - by El Forum - 02-01-2012, 01:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB