On Jun 6, 6:57 am, saidbakr <[email protected]> wrote: > Hello, > > Actions start with "_" underscore in its name is going to be private > and it is not allowed to access them externally, i.e from the URL. > However, they are accessible internally by calling them from another > action. > > The case is, requestAction() method does not able to call actions > start with _ in its name. Does it a bug? > > If it is not a bug, so how could I able to request a private action or > _ starting action ?
You can't call a private or protected method from outside the class. That's the whole point of private and protected methods. Either make it public or call the method from within a public method. 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
