<bigsnip /> > <?php > > class config { > var $main_cfg = array(); > function __construct(){> $this->main_cfg['install_root'] = '/path/to/install/directory'; > } > } > > class action extends config { > function action() { > parent::__construct(); > print $this->main_cfg['install_root']; > } > } > > $act = new action(); > > ?> This afternoon i started to realize the error of my ways yesterday. but this brings it much further, thanks! > but this should work fine in php4 as well), it does! ?> > I'm not quite sure what you're hoping to gain by all these subclasses > though, so I won't comment on what's the best solution for your needs, > but at least now you know how to access the data. That is fair to question, and i may have over stated the subclasses portion, i have 3 (??) not including 'config'. I'm very much learning, so my design is likely lackluster at best, but i'll continue to tweak. Are design posting/questions appropriate on this list? If so maybe i'll try to put some thought to it and share. Thanks again, Jeff ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/