5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 548 Views |
-
Why does the controller automatically call the function getTemplate() if it exists?

20 July 2009 at 3:08pm
Hello.
Today I wrote a function in one of my controllers so I could do some template related testing. I called my function getTemplate and went about my business. However when I returned to my controllers base action I was very surprised to discover that the method getTemplate() gets run as well.
I tried searching the docs and I searched the forums, no hits. Is this some special reserved method that isn't documented or is this a bug? I searched in the core classes and only Email has a getTemplate method.
| 548 Views | ||
|
Page:
1
|
Go to Top |

