start the function name with an underscore to make it private. _getSomeInternalData()
On Sep 15, 12:36 pm, millZ <[EMAIL PROTECTED]> wrote: > Hello, > > what is the convention for a private function, which has not to not > work as url? > > example > TableController extens AppController { > function getSomeInternalData(){ }// .... eh > > } > > so a hyperlink like this has not to result in an error like 'missing > view':http://localhost/myCakeApp/tables/getsomeinternaldata > > Can you help me? > Addition: the call from other controllers via requestAction() sould be > possible. > > Thanks and Regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---