Lines Matching refs:args
46 protected function check_against_val_method($value, $method, $args) {
52 array_unshift($args, $value);
53 $result = call_user_func_array(array($this, $validator), $args);
57 protected function validate_one($value, $method, $args, $null) {
64 return $this->check_against_val_method($value, $method, $args);
72 $args = $this->rules[$field][0];
75 $method = array_shift($args);
76 list($result, $code) = $this->validate_one($value, $method, $args, $null);
110 public function validate_array_of($array, $args) {
112 $method = array_shift($args);
115 $result = $this->check_against_val_method($value, $method, $args);