-
Notifications
You must be signed in to change notification settings - Fork 350
[FEATURE] Implemented content query #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
$target = & $fieldsData; | ||
} | ||
|
||
if (!isset($field['property'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separate in own methods getRowValue
& loadExtensionData
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
…content-query Conflicts: composer.json
$this->contentTypeManager = $contentTypeManager; | ||
$this->stopwatch = $stopwatch; | ||
|
||
$this->createExtensionCache(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/create/initialize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it in a separate method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it is used more than once!
… into hotfix/content-query
/** | ||
* converts a query row to an array | ||
*/ | ||
private function rowToArray(Row $row, $locale, $webspaceKey, $routesPath, $fields) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method seems to duplicate functionality from the content mapper
… into hotfix/content-query
@@ -1610,4 +1639,269 @@ private function getUniquePath($name, NodeInterface $parent) | |||
return $name; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to add a comment that the code below this line relates to mapping Row data, or maybe subclass it and just have the public methods here.
Have reviewed and can merge once the tests pass |
@dantleech has you fixed you comments? |
@wachterjohannes yeah.. as you are not working today :) |
perfekt(= |
[FEATURE] Implemented content query
Content Query used to build queries for loading small content pieces.
Tasks:
Informations: