Jump to content

Calling FrontController function in php file


Syns

Recommended Posts

Does anyone know how to call function in FrontController into php file?

in .tpl it would be something like this {FrontController::getThatFunction(10)}, how about in .php?

 

Thank you

 

So

FrontController::getThatFunction(10);
And if it returns a value

$result = FrontController::getThatFunction(10);
Edited by joseantgv (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...