[drupal-devel] multidimensional arrays VS objects. should we go for one?

Adrian Rossouw adrian at bryght.com
Mon Oct 10 17:39:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 10 Oct 2005, at 7:12 PM, Bèr Kessels wrote:
> If more people agree, then we can make a few issues called "rewrite  
> menu to
> use objects, instead of keyed arrays" and so. And add a few lines  
> to the
> coding guidelines.
Making menu elements objects will mean implementing classes and  
constructor
functions for them, no ?

Or can you use object( 'key' => $value )   ?


- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDSqchgegMqdGlkasRAriXAJ97KEWo9UwfVS0MKXqb+J9FIWqZ0gCfbQNz
uKiWm6nZeE5oMFRdmD94nEo=
=qhnG
-----END PGP SIGNATURE-----



More information about the drupal-devel mailing list