Chapter 22, Controller Class page 165.
In the book you have
Code:
$called = call_user_func_array(array(new $this->parts[0], $this->parts[1]), array($this->parts));
In the download code you have
Code:
$called = call_user_func(array(new $this->parts[0], $this->parts[1]));
Which is correct? And in the first example shouldn't that the last value be array($this->params), instead of array($this->parts), since you would be passing on additional values?
Thanks
Mike Moore