Welcome Guest, Not a member yet? Register   Sign In
$function() ?
#2

[eluser]Colin Williams[/eluser]
You can $this->$method or call_user_func(array($this, $method)), but it's a good idea to run a function_exists or method_exists test before you call it. For security reasons, you might also want to use an array to store valid methods.


Messages In This Thread
$function() ? - by El Forum - 09-01-2008, 12:21 AM
$function() ? - by El Forum - 09-01-2008, 12:41 AM
$function() ? - by El Forum - 09-01-2008, 01:14 AM
$function() ? - by El Forum - 09-01-2008, 01:19 AM
$function() ? - by El Forum - 09-01-2008, 01:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB