You are here

function asset_build_query in Asset 6

Same name and namespace in other branches
  1. 5 asset.module \asset_build_query()

Helper function to build a query string from an array

6 calls to asset_build_query()
asset_asset_type in inc/asset.api.inc
Implementation of hook_asset_type().
asset_wizard_form_asset_selection in ./asset_wizard.inc
Form builder for step 1 of the asset wizard. This step is the most intensive so it has been separated out for clarity.
asset_wizard_form_asset_selection in inc/asset_wizard.inc
Form builder for step 1 of the asset wizard. This step is the most intensive so it has been separated out for clarity.
asset_wizard_location_bar in ./asset_wizard.inc
asset_wizard_location_bar in inc/asset_wizard.inc

... See full list

File

inc/asset.routines.inc, line 132

Code

function asset_build_query($data) {
  foreach ($data as $k => $v) {
    $items[] = "{$k}={$v}";
  }
  return join('&', $items);
}