New Helpers on the Wiki |
[eluser]bretticus[/eluser]
Apparently, this has to be a controller function or method. I wrote a wrapper function in my controller to get around it: Code: <?php I suppose if somebody wants to call http://url.tld/controller/check_card/4111111111111111 they are welcome too Where the call is not going to a payment gateway, I'm not worried. But still the validation class should have access to a helper I think. Also, don't forget to define the error message: Code: <?php |
Messages In This Thread |
New Helpers on the Wiki - by El Forum - 08-27-2007, 01:31 AM
New Helpers on the Wiki - by El Forum - 08-27-2007, 04:48 AM
New Helpers on the Wiki - by El Forum - 06-13-2008, 03:02 PM
New Helpers on the Wiki - by El Forum - 07-02-2008, 12:03 PM
New Helpers on the Wiki - by El Forum - 07-02-2008, 03:47 PM
New Helpers on the Wiki - by El Forum - 10-27-2008, 05:11 PM
|