Hi, Just started using phalcon and am having some trouble understanding how to generating urls. First, my goal is to have a url like this: mysite.com/project/overview?pid=13
using the url service I can create the url as expected by:
$url->get('project/overview', array('pid'=>13)); // output: /project/overview?pid=13
The documentation says internally Tag::linkTo uses Phalcon\Mvc\Url to generate the url. However, Tag::linkTo() doesnt seem to support arrays the same as Url::get(). Arrays in Tag::linkTo() seem to only work for either named routes (using a nested array) or simple array('route', 'text'). How can I generate a url like above using linkTo? I could manually do ```php Tag::linkTo("project/overview?pid=13", "Project 13") ```
But then I have to construct the route myself. Also, prefixing the route with a "/" seems to behave differently in Tag::linkTo and Url::get(). Am I missing something?