Posted by Mike Willbanks on 10/12/85 11:16
micha,
> is it possible for validate_args() to automatically read the argument of
> some_function() or do i have to note the argument in the brackets in any
> case?
No however what you can do is something like the following:
function some_function() {
if (!validate_args(func_get_args())) {
return false;
}
//some_function is valid...
}
This will send all of the arguments from some_function over to
validate_args.
Mike
Navigation:
[Reply to this message]
|