#5759: something's wrong in either Router::parse() or Router::url()
-----------------------------------+----------------------------------------
Reporter: petr.pavel | Owner:
Type: Bug | Status: new
Priority: Medium | Milestone: 1.2.x.x
Component: Routing/Dispatcher | Version: RC3
Severity: Normal | Resolution:
Keywords: router parse url | Php_version: PHP 5
Cake_version: 1.2.0.7692 RC3 |
-----------------------------------+----------------------------------------
Comment (by rafaelbandeira3):
Router::parse() return isn't supposed to be passed as agument to
Router::url().
Returned array from Router::parse() is used to map route params of the url
being passed - it's format is seen on Controller::$params and
View::$params - and has at least 3 array values inside: 'url', 'named',
'pass'. The only array value that can be passed to Router::url is '?' wich
is supposed to buld a query string.
--
Ticket URL: <https://trac.cakephp.org/ticket/5759#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---