Is it possible to define a constant that is an array of other predefined
constants?  If so, what would the syntax be?  I'm trying something like the
following (all items prefixed with an uppercase "G" are constants) without
success:

define("GaNavButtons", array(
        GnavSectionHome => array (
                GsectionSelected => Gb_home,
                GsectionUnSelected => Gb_home_uns),
        GnavSectionLinks => array (
                GsectionSelected => Gb_links,
                GsectionUnSelected => Gb_links_uns),
        GnavSectionAbout => array (
                GsectionSelected => Gb_about,
                GsectionUnSelected => Gb_about_uns),
        GnavSectionContact => array (
                GsectionSelected => Gb_contact,
                GsectionUnSelected => Gb_contact_uns),
        GnavSectionShopping => array (
                GsectionSelected => Gb_shopping,
                GsectionUnSelected => Gb_shopping_uns));



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to