Valid class

From: Date: Thu, 17 Apr 2003 20:33:56 +0000
Subject: Valid class
Groups: php.general 
Request: Send a blank email to php-general+get-144341@lists.php.net to get a copy of this message
Question: Is you define an associative array that is empty and you initialize all of the elements of the array, would this be a good item to make into a class that can be called from anywhere?? I have a large number of attributes for a project and want to pass a single parameter (the associative array/class) to and fro without having a large number of parameters for each function. I would rather have the function extract what it need from the class/array. Robin Kopetzky

« previous php.general (#144341) next »