[TYPO3-core] FYI24: #11059: Validation issue: duplicate specification of attribute "class" in t3lib/class.t3lib_tceforms.php

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon May 11 11:45:40 CEST 2009


Hi!

Martin Kutschker wrote:
> This will make the joining of the classes a little easier:
> 
> $classAttributeValue =
>   join(' ', array_filter(array($class, $additionalClass)));

Just out of curiosity: why not 'implode'? They are synonyms I know but why 'join'? :)

-- 
Dmitry Dulepov
In the TYPO3 blog: http://dmitry-dulepov.com/article/cleaning-your-apple-mighty-mouse.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-team-core mailing list