8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I an propose add _anchor or _fragment parameter to generate method, like in Magento http://www.magentocommerce.com/wiki/5_-_modules_and_development/reference/geturl_function_parameters
_anchor
_fragment
generate
<?php $router->generateUrl('topic.view', array('topic_id' => 1, '_anchor' => 'comment-2')); // '/topics/1#comment-2'
The text was updated successfully, but these errors were encountered:
There is no need to that. Just append it after generating the URL:
$router->generateUrl('topic.view').'#comment-2';
Sorry, something went wrong.
of course, this is just syntax shugar
No branches or pull requests
I an propose add
_anchor
or_fragment
parameter togenerate
method, like in Magento http://www.magentocommerce.com/wiki/5_-_modules_and_development/reference/geturl_function_parametersThe text was updated successfully, but these errors were encountered: