I want to add a url generated from another function in TCPDF's footer.
Similar to that, but with a variable from a function, let's call it:
function function_name() {
$variable = 'urlvalue';
}
How would I get this information ($variable) into the TCPDF footer? Would I have to make the variable global? Could I pass it in some manner?