zend framework2 - how to get the request URI in zf2 twig? -


i want full uri address of current page in twig page in zf2. if use url() return zend url not full adress.

i'm using custom framework (similar symfony2). way handle kind of things creating global twig variables inside constructor of controller. take @ zf2 - rendering variables module.php twig layout.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -