Jump to content

How to call a function of module in the template


Alex73

Recommended Posts

How to call a function of module in the template.

 

for example:

 

 

class myModuleName extends Module

...

public static function myFunction()

{

return true;
}
...

 

How can I register a class/object module in a smarty or how to register function?

Edited by Alex73 (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...