Jump to content

How to change autocalled function getContent in module class


xezus

Recommended Posts

Hi,

 

I am creating a module and I would like to change, the auto called function getContent to something else, but I don't want to simply call another function like this

 

public function getContent() {
 
return $this->newFuction();
 
}
 

I want to know from where are these function(s) called to better understand how the core works.

 

I would be glad for any answer.

Edited by xezus (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...