function pet_option_list in Previewable email templates 6
Return list of PETs for select list.
1 call to pet_option_list()
- pet_action_email_form in ./
pet.module - Provide action form elements for PET email Ubercart action.
File
- ./
pet.module, line 423 - Previewable E-mail Template module.
Code
function pet_option_list() {
$pets = pet_get_pets();
$list = array(
'' => t('- Choose -'),
);
foreach ($pets as $pet) {
$list[$pet->name] = $pet->name;
}
return $list;
}