Why use call_user_func_array() instead of $this->validator ?

edited September 2014 in Share
Forgive my ignorance..

in MY_Model.php around line 2115, Why use:

call_user_func_array(array(&$this->validator, 'add_rule'), $rule)

instead of

$this->validator->add_rule($rule)

Comments

Sign In or Register to comment.