making all variables global for use within a classes methods
| From: | Jesper Hess Nielsen | Date: | Fri, 08 Sep 2000 09:59:00 +0000 |
| Subject: | making all variables global for use within a classes methods | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15850@lists.php.net to get a copy of this message | ||
I have a system where all language-specific text strings are stored in an include file in the format
$str_string_name = "String";
Is there a way of making the entire contents of this file global so I can use the strings inside the
methods in a class?
/Jesper