05-03-2008, 09:42 PM
|
#8 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
That's not a bad idea at all. I guess I was looking for a way to pass multiple arguments via my load() method without having to do any extra coding in the object itself to handle it. That way my objects could be clean, and the load method would handle all the organization. So I supposed with that idea in mind I could do something such as
PHP Code:
$aArgs = array_splice(func_get_args(), 3); $pPointer = new object($aArgs);
and just drop your code into the __construct of my object.
-m
|
|
|
|