login about faq

asked May 28 '11 at 01:12

gaisam's gravatar image

gaisam ♦♦
4194144283


In case of IndexController, we name the file as IndexController.php, which defines this as the index controller.

Inside the file, we name the controller class IndexController, which matches the filename.

The matching of the filename and class name is very important.

If we don't do this, then it will cause the Front Controller to throw a not found exception.

link

answered May 28 '11 at 01:17

gaisam's gravatar image

gaisam ♦♦
4194144283

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×43

Asked: May 28 '11 at 01:12

Seen: 580 times

Last updated: May 28 '11 at 01:17

powered by OSQA