i'm not sure if it's exactly what you want, but if you do name your
action with '_' , it's automagically private and not accessible from
outside your controller.
function _some_strange_function ($id = null) {}
you cannot use it:
/your_controlller/_some_strange_function/3
but you may call it from other controller functions
spark
On 11/1/07, Cristian Vrabie <[EMAIL PROTECTED]> wrote:
>
> hey, i want to make the access to one of my controllers private (i just
> use it internally to render content in another controller). how can i
> make the router to do that? is there a Router::disconnect function?
>
> >
>
--
[livesets] http://djspark.com.br/
[web] http://sydi.net
[filmes] http://melhoresfilmes.com.br
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---