zikula-modules / Locations

Database for all kinds of locations
http://code.zikula.org/locations
6 stars 2 forks source link

Use $args in Functions #1

Open hvorragend opened 13 years ago

hvorragend commented 13 years ago

To use Locations in Content "display module" and pass extra arguments (cat for example) the passed arguments in $args must be used.

You may do this by

$_REQUEST = array_merge($_REQUEST, $args);
$_GET = array_merge($_GET, $args);

in the beginning of each function... But it's no nice style ;)