Thanks, AD. On Thu, Nov 4, 2010 at 10:17 AM, AD7six <[email protected]> wrote: > > > On Nov 4, 10:11 am, AD7six <[email protected]> wrote: >> On Nov 3, 6:05 pm, nurvzy <[email protected]> wrote: >> >> > What AD is saying is the security component is setting $error to an >> > empty string (in the method header) if it doesn't exist, you are not. >> > As such when the second argument isn't given in *your* method, instead >> > of $error being set to '' you'll get a notification. >> >> Well, not really - The docs are describing the security *component* >> blackHole signature. >> >> look at the source or just think: why would a controller function ever >> have $controller as the first param. >> >> func_get_args will tell you you're not receiving array($controller, >> 'auth') but simply array('auth') your blackhole function should only >> have 1 param, because that's all it's going to receive. >> >> AD > > On a possibly more constructive note, here's an example: > > https://github.com/AD7six/skel/blob/master/app_controller.php#L280 > > AD > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en >
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
