View Single Post
Old 05-03-2008, 09:42 PM   #8 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

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
delayedinsanity is offline  
Reply With Quote