Suggestion #5949

comment

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

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

0%

Estimated time:
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 '';
}
}

#1

Updated by Christian Müller about 11 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 11 years ago

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

Updated by Bastian Waidelich about 11 years ago

  • Subject changed from Comment view helper to comment

Also available in: Atom PDF