[TYPO3-mvc] What is the description argument in registerTagAttribute() used for?

Bastian Waidelich bastian at typo3.org
Tue Jul 10 18:35:07 CEST 2012


Stephen Bungert wrote:


> Maybe this is a stupid question, but when registering attributes in a tag
> based viewhelper, what is the point of the 3rd argument (description) passed
> to the function registerTagAttribute()?

We use that to render the ViewHelper reference [1]
Besides those will show up in your IDE if you create an XSD via "./flow3 
documentation:generatexsd" (not yet available in Extbase).

Best,
Bastian

[1] 
http://flow3.typo3.org/documentation/guide/partv/fluidviewhelperreference.html

-- 
Bastian Waidelich
TYPO3 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org




More information about the TYPO3-project-typo3v4mvc mailing list