In some cases you may want certain methods hidden from public access. In order to achieve this, simply declare the method as being private or protected and it will not be served via a URL request. For example, if you were to have a method 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/