Actually, "Customers" is just an identifier I think, it doesn’t get used anywhere.
So the wlpe call passes through a list of "filters":
[!wlpe_wrapper? &filters=`username,zip,lastname,webgroup,email`!]
This list tells the wrapper to look for $_REQUEST variables with the same name, and the contents of those variables will contain the filters:
$filterarray = isset($filters) ? split(",",$filters) : array();
foreach($filterarray as $filter)
{
if(isset($_REQUEST[$filter]) && $_REQUEST[$filter] != "")
{
$userListFilter .= $filter."(".$_REQUEST[$filter]."),";
}
}
So the filters list looks like "username, zip", which gets converted to an array, then we iterate the array and get the contents of the filter. So we are looking for
$_REQUEST[username]
$_REQUEST[zip]
Lets say that username=’paul’ and zip=’doodaa’, so the outcome of this loop would be:
$usersList = ’username(paul),zip(doodaa)’
This is then passed to the webloginpe call as:
WebLoginPE? usersList=`$usersList`
Or when called from the snippet below it is effectively:
$modx->runSnippet("WebLoginPE",array("usersList" => $usersList);
Then you can see the format of the usersList parameter in the webloginpe instructions:
http://sottwell.com/assets/snippets/webloginpe/docs/parameters.html