You are here

function uc_addresses_get_address in Ubercart Addresses 5

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \uc_addresses_get_address()

Display a form to add a new address or edit a user's addresses.

Parameters

$uid The user id of the user who "owns" this address.:

$aid The address id for this address (0 for new addresses):

$view The URL path for which form to display. 'add' or 'edit'.:

Return value

An address form

1 string reference to 'uc_addresses_get_address'
uc_addresses_menu in ./uc_addresses.module
Implementation of hook_menu().

File

./uc_addresses.module, line 815

Code

function uc_addresses_get_address($uid, $aid, $view) {
  global $user;
  $output = drupal_get_form('uc_addresses_get_address_form', $uid, $aid, $view);
  return $output;
}