View Issue Details

IDProjectCategoryView StatusLast Update
0000258Adventure PHP FrameworkNeues Feature // New Featurepublic2015-09-05 16:58
ReporterChristianAchatzAssigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.0 
Target Version3.1Fixed in Version3.1 
Summary0000258: Add support for nested URL parameters, e.g. a[x]=1&a[y]=2
DescriptionATM, APF 3.0 does not support nested URL parameters - neither as an input from URL nor as an output with the LinkGenerator.

Within this issue support should be added to be able to query array-based parameters as well as generate URLs.

Examples:

1) Query:
$url = Url::fromString('?a[x]=1&a[y]=2');
$url->getQueryParameter('a')['x']; // =1
$url->getQueryParameter('a')['y']; // =2

2) Generate:
$url = Url::fromString('');
$url->setQuery([
   'a' => [
      'x' => 1,
      'y' => 2
   ]
]);
$link = LinkGenerator::generateLink($url); // =?a[x]=1&a[y]=2
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Namespacetools

Activities

ChristianAchatz

2015-09-05 16:58

administrator   ~0000589

Added necessary code for release 3.1 in master branch.

Issue History

Date Modified Username Field Change
2015-09-05 16:30 ChristianAchatz New Issue
2015-09-05 16:30 ChristianAchatz Status new => assigned
2015-09-05 16:30 ChristianAchatz Assigned To => ChristianAchatz
2015-09-05 16:58 ChristianAchatz Note Added: 0000589
2015-09-05 16:58 ChristianAchatz Status assigned => resolved
2015-09-05 16:58 ChristianAchatz Fixed in Version => 3.1
2015-09-05 16:58 ChristianAchatz Resolution open => fixed