[eluser]Dileep[/eluser]
Quote:Private Functions
In some cases you may want certain functions hidden from public access. To make a function private, simply add an underscore as the name prefix and it will not be served via a URL request. For example, if you were to have a function like this:
private function _utility()
{
// some code
}
Trying to access it via the URL, like this, will not work:
example.com/index.php/blog/_utility/
What is the use of Private Functions ? i tried the above with direct URL access and it returns 404,But how can i use use these function ?????
i have a Controller and a user login checking function , how can i use this with ajax ?
cause in Firebug it return 404,
Waiting for valuable Help and suggestions .
Thank you .