Suggestion #5949
comment
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