You are here

function i18n_object_wrapper::get_index in Internationalization 7

Get string numeric key for indexing.

File

./i18n_object.inc, line 56
i18n Object Class

Class

i18n_object_wrapper
Object wrapper

Code

function get_index() {
  $key = $this
    ->get_key();
  return is_array($key) ? implode(':', $key) : $key;
}