TYPO3 Flow Base DistributionPackagesApplications

Suggestion #5949

comment

Added by Laurent Foulloy over 5 years ago. Updated almost 5 years ago.

Status:Needs Feedback Start date:2010-01-10
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch: Tags:

Description

A CommentViewHelper could be added to the standard distribution.

/** * * @param boolean If true the comment should be displayed * @return string Either the comment or a null string
*/
public function render($show = FALSE) {
if ($show) {
return $this->renderChildren();
} else {
return '';
}
}

History

#1 Updated by Christian Müller about 5 years ago

  • Status changed from New to Needs Feedback

What usecase does it have? When would you need that? I guess for debugging or similar?

#2 Updated by Bastian Waidelich about 5 years ago

  • Tracker changed from Feature to Suggestion
  • Project changed from TYPO3.Fluid to Fluid - ViewHelper - Incubator

#3 Updated by Bastian Waidelich about 5 years ago

  • Subject changed from Comment view helper to comment

Also available in: Atom PDF