Task #48278

Work Package #48275: TypoScript consistency

Add "Find" FlowQuery operation

Added by Aske Ertmann about 2 years ago. Updated about 2 years ago.

Status:New Start date:2013-05-16
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:General / Project Spent time: -
Target version:1.0 beta 1

Description

Implement a new FlowQuery operation called find which mimics the query selector by making it possible to filter children nodes not limited by the depth like children is.

The find selector should support nested node names like "node/subnode"

It should also support an arbitrary selector in the node name filter like "node/*/subnode" or "*/category-*"

Associated revisions

Revision f7b095d0
Added by Aske Ertmann over 1 year ago

[FEATURE] Recursive node type and identifier support in FindOperation

Adds support for finding a node by its identifier within the
node context by using the syntax::

${q(site).find('#60216562-0ad9-86ff-0b32-7b7072bcb6b2')}

Adds support for finding all nodes of a specific node type
inside the scope of the node context using the syntax::

${q(site).find('[instanceof TYPO3.Neos.NodeTypes:Text]')}

Depends on I08b957467eea91f52cc6f2fea71ab45c797e4a8f

Change-Id: I1a6fb37fc2d8f0b5e652187cf2d47421201b0f5b
Related: #48278
Releases: master, 1.1
Reviewed-on: https://review.typo3.org/27911
Reviewed-by: Christian Mueller
Tested-by: Christian Mueller
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann

Revision b1b3285a
Added by Aske Ertmann over 1 year ago

[FEATURE] Recursive node type and identifier support in FindOperation

Adds support for finding a node by its identifier within the
node context by using the syntax::

${q(site).find('#60216562-0ad9-86ff-0b32-7b7072bcb6b2')}

Adds support for finding all nodes of a specific node type
inside the scope of the node context using the syntax::

${q(site).find('[instanceof TYPO3.Neos.NodeTypes:Text]')}

Depends on I08b957467eea91f52cc6f2fea71ab45c797e4a8f

Change-Id: I1a6fb37fc2d8f0b5e652187cf2d47421201b0f5b
Related: #48278
Releases: master, 1.1
Reviewed-on: https://review.typo3.org/29149
Reviewed-by: Christian Mueller
Tested-by: Christian Mueller

History

#1 Updated by Sebastian Kurfuerst about 2 years ago

Note: the "recursive find" method could be implemented based on https://review.typo3.org/#/c/19284/ -- which implements the relevant CR functionality.

Also available in: Atom PDF