zend-route Questions
1
I wondering how to translate a URL in ZF2 that has a parameter on it.
For example:
/{:language_link-schools-:city_link}
The reason why I don't do:
/:language_link-{schools}-:city_link
It is ...
Merca asked 3/12, 2016 at 17:15
5
Solved
How can I get various parameters related to the page request in zf2? Like post/get parameters, the route being accessed, headers sent and files uploaded.
Nathalienathan asked 22/8, 2012 at 16:5
3
Solved
I'm trying to write a route for an level N category depth. So an usual category URL would look like this:
http://website/my-category/my-subcategory/my-subcategory-level3/my-subcategory-level4
I...
Guatemala asked 22/3, 2011 at 8:37
6
Solved
I have following redirect script in my controller (Zend Framework 2)
return $this->redirect()->toRoute('default', array(
'controller' => 'admin',
'action' => 'index'
));
Currently ...
Falconiform asked 18/5, 2012 at 11:42
2
Solved
On an existing Zend Framework website with few controllers and no modules I need to add some prefixes to the default routes.
For example, I currently have :
/products
/products/id/1
/training
/co...
Galba asked 5/5, 2015 at 10:3
3
I have two issues with user-friendly URLs.
I have a router set up as follows:
The actual URL is http://www.example.com/course/view-batch/course_id/19
I want a friendlier URL http://www.example.c...
Uvula asked 20/5, 2015 at 9:5
1
Solved
I am beginner working with Zend. I have seen may_terminate in module route configuration. I don't understand what it is for. According to ZF2 official docs,
the option “may_terminate” hints to th...
Commentate asked 26/12, 2013 at 13:15
3
Solved
With the Zend Framework, I am trying to build routes for a REST api on resources organized in the following pattern:
http://example.org/users/
http://example.org/users/234
http://example.org/user...
Wardieu asked 5/2, 2010 at 2:14
2
Solved
I'm having an issue with an optional constraint in a route that is non-optional in it's children. My routing structure is as follows:
'profile' => [
'type' => 'segment',
'options' => [
...
Marjoriemarjory asked 3/10, 2012 at 16:43
1
Solved
I am trying here to create url, like:
/admin/login
/moderator/login
both the request would be served by same controller & action made for login, i.e. /account/login/<type>
Currently, ...
Apocarpous asked 30/8, 2012 at 11:57
3
Solved
I'm using a traditional Zend framework application generated using Zend tool. I have several modules in my application all generated using Zend tool too. I'm intending to use the default routes in ...
Simarouba asked 9/4, 2012 at 8:17
4
Solved
I have a form that I am trying to set the action for. I want to declare the action inside my form file (which extends Zend_Form) instead of in a controller or view, using a route I have created in ...
Alcaraz asked 20/7, 2010 at 10:8
2
Solved
I'm trying to test a controller. Zend Tool has generated the following code:
class Default_CarrinhoControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
{
public function setUp()
{
$this-&...
Necromancy asked 6/1, 2012 at 23:14
2
I'm having some difficulties with the combination of Zend_Navigation, Zend_Translate and the routing needed.
My site navigation is done through Zend_Navigation based on and XML file.
I've now adde...
Orban asked 27/2, 2010 at 8:22
2
Solved
i am developing a Rest Controller with Zend and i am confused with the mapping of urls to the Router.
Basically i read about Zend Router and i could not plan my urls in order to satisfy the mentio...
Construct asked 1/3, 2011 at 9:18
7
Solved
I have a controller and action which I'm accessing through a custom URL. The original route is still accessible though at the default location
zend.com/controller/action
How can I change this to...
Viral asked 3/10, 2010 at 12:34
1
© 2022 - 2024 — McMap. All rights reserved.