You are here

function regcode_get_term_ids in Registration codes 7

Same name and namespace in other branches
  1. 7.2 regcode.module \regcode_get_term_ids()

Gets the term ids associated with a registration code.

Parameters

object $code: The registration code entity.

Return value

array An array of term IDs.

1 string reference to 'regcode_get_term_ids'
regcode_entity_property_info in ./regcode.info.inc
Implements hook_entity_property_info().

File

./regcode.module, line 517
Main functionality and hooks of regcode module.

Code

function regcode_get_term_ids(stdClass $code) {
  return array_keys($code->tags);
}