Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Function called twice int the controller

Go to End



Community Member, 8 Posts

23 April 2013 at 11:02pm

My function which i have included in the class Page_Controller extends ContentController {
function myfunction{
// contents
is called twice if i try to call it from the template.

That is in if i try to call the function $myfunction then the function return value increments with two..