TYPO3 Flow Base DistributionPackagesApplications

Feature #34630

generic "Comments" ViewHelper

Added by Adrian Föder over 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-03-07
Priority:Could have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:-
Target version:-

Description

I'm currently writing a generic Comments ViewHelper that'll have the following signature / functionality:

/**
 * Returns comments for an entity as collection in order to e.g. <f:for each=""> it
 * 
 * = Examples =
 *
 * 
 * <f:for each="{c:comments(object: affectedObject)}" as="comment">
 *     <cite>{comment.author.name</cite>
 *     <blockquote>{comment.message}</blockquote>
 * </f:for>
 *  
*/

(I personally will use that as a base for converting it to JSON; but the sampled use case is very... useful, I think).

I'll keep it locally and make a Gerrit once the base code is in the master branch.

Associated revisions

Revision 49fe253b
Added by Adrian Föder over 3 years ago

[FEATURE] Generic "Comments" ViewHelper

This provides a ViewHelper that returns the Comments Collection
attached to a given object in order to e.g. <for each=""> though
it.

Change-Id: I4c6528d3cc060c6e21543adaeafc9535ad25fb2c
Resolves: #34630

History

#1 Updated by Adrian Föder over 3 years ago

  • Status changed from New to Accepted

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9636

#3 Updated by Adrian Föder over 3 years ago

  • Status changed from Accepted to Under Review
  • % Done changed from 0 to 60

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9636

#5 Updated by Adrian Föder about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 60 to 100

Also available in: Atom PDF