By default, which method is called in a CodeIgniter controller if no method is specified in the URL?
- index()
- default()
- main()
- primary()
In CodeIgniter, if no method is specified in the URL, the default method called is "index()". It serves as the default action when no specific method is requested. The other options are not the default method names.
Loading...
Related Quiz
- Which function in CodeIgniter's Model is commonly used to retrieve data from the database?
- In MVC, the ________ pattern is often used to automatically reflect changes in the Model to the View.
- In CodeIgniter, the ________ method allows controllers to handle multiple HTTP verbs in a single method.
- _______________ is a CodeIgniter feature that aids in the efficient streaming of large JSON datasets.
- What is the role of SMTP settings in the configuration of the Email Class for sending emails?