04-06-2009, 10:54 PM
|
#3 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Thanks! You mean I should use that in the __call function?
PHP Code:
public function __call($function, $params) { // split the params so I get an array $array call_user_func_array($this->DB_Helper->$function, $array);
Like that?
Is this the most efficiant/best way to do this?
__________________
|
|
|
|