You are here

function pet_load in Previewable email templates 8

Same name and namespace in other branches
  1. 8.4 pet.module \pet_load()
  2. 6 pet.module \pet_load()
  3. 7 pet.module \pet_load()

Loads a PET by ID.

2 calls to pet_load()
pet_action_send_pet in ./pet.rules.inc
Callback for eponymous rules action.
pet_send_mail in ./pet.module
Send tokenized email to a list of recipients.

File

./pet.module, line 15
Previewable Email Template module.

Code

function pet_load($pid) {
  return Pet::load($pid);
}