Unclassified NewsBoard Code Reference

UteVariable function

Insert a variable's value

function UteVariable ($name, $key1 = false, $key2 = false);

Parameters:

name
(string) variable name
if name is empty, go to top level (i.e. outside the loop) and use key1 as actual name
key1  –  optional, default: false
(string) first-level array item key
key2  –  optional, default: false
(string) second-level array item key

Remarks:

Uses the $UTE array or the local foreach loop variable

Implementation file: unb_lib/ute-runtime.lib.php, line 269

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.