_visuals.incfile by one of the three ways variables can be passed from one PHP script to another:
visuals.incfile so gaining visibility on the parent script variables.
$_REQUESTarray (PHP 4.1 compliant behavior) containing the HTTP_POST and GET arrays (used by former versions of PHP). This makes sure the rest of the script can be developed following the latest recommendations of PHP while still working fine on former versions (the test
!= '4.1'is not fully correct as also returning true for higher versions of PHP).
visuals.incfile in whatever way (see above) is always taken into account. The only value that we will use is the
$SkinIDthat is referencing the id of the visual set to load. The code first checks if a value is passed via HTTP POST or GET request (using the
$_REQUESTinitialised sooner), if no checks that the variable is not yet defined by a parent script (assuming
visuals.incmight have been included or required by another script) and if none of those scenarios are true, finally give the
$SkinIDvariable a default value equal to 0.
$VISUALSarray, you link it to structural elements of your web page. Let's imagine that you define visual parameter for the footer section of your web then declare a
visuals.incfile is now ready; let's move on to the stylesheet.