It's different because in your example there is no way of knowing that $AllowableValues refers to $WidgetType.
My solution would be var $attributes = array( 'accountType' => array( 'Type' => "Select", 'AllowableValues' => array("Current","Savings") ) ); with a central attribute definition or alternatively var $attributes_accountType = array( 'Type' => "Select", 'AllowableValues' => array("Current","Savings") );
But then again I think the whole thing is typical OO bloat anyway and that's why I don't want to have language features added for it (-:C
Over and out, - Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php