[TYPO3-core] RFC: #4133 / accesskey for TMENU

Karsten Dambekalns karsten at typo3.org
Mon Sep 11 12:51:30 CEST 2006


Hi.

On Friday 08 September 2006 09:32, Martin Kutschker wrote:
> Michael Stucki schrieb:
> > Why is Array (it's just a normal function) spelled with upper-case A so
> > often? I know that this is written so often inside TYPO3 that you
> > probably just copied it. But I think that lower-case would look more like
> > a PHP function...
>
> I think the idea is that Array() is used as a constructor without "new".
> And usually you spell "new Class()" not "new class()".

Array are not objects, so this isn't a constructor. I like array() much 
better, as it's just a PHP *function*.

Regards,
Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060911/01452ff8/attachment.pgp 


More information about the TYPO3-team-core mailing list