Welcome Guest, Not a member yet? Register   Sign In
Is that possible to generate URL from routing rule?
#1

[eluser]Unknown[/eluser]
Let's assume I have the following rule:
Code:
$route['product/:any'] = "catalog/product_lookup";

And I want to create a link that passes the rule.
Something like this:
Code:
echo generateRoutingURL( 'catalog/product_lookup', array( 'some_product' ) );
// Output: product/some_product

Is it possible in any versions of CI?


Messages In This Thread
Is that possible to generate URL from routing rule? - by El Forum - 01-05-2011, 06:06 AM
Is that possible to generate URL from routing rule? - by El Forum - 01-05-2011, 06:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB