I need to add several private functions to the a few admin controller files. Rather than add a bunch of duplicate code with VQmod I was hoping to a link to "module/common_functions.php" vqmod and the access the functions that way, but I'm not sure how to do that.
I tried:
Code: Select all
$this->getChild('controller/module/common_functions.php');
and
Code: Select all
$this->getChild('module/common_functions.php');
But get Error: Could not load controller
I also tried
Code: Select all
include_once 'controller/module/common_functions.php';
$this->FunctionIwantToCall();
but it won't find the function.
Am I on the right track?