You are here

public function i18n_string_object_wrapper::load_strings in Internationalization 7

Load all existing strings for this object.

2 calls to i18n_string_object_wrapper::load_strings()
i18n_string_object_wrapper::strings_remove in i18n_string/i18n_string.inc
Remove all strings for this object.
i18n_string_object_wrapper::strings_update in i18n_string/i18n_string.inc
Update all strings for this object.

File

i18n_string/i18n_string.inc, line 1355
API for internationalization strings

Class

i18n_string_object_wrapper
String object wrapper

Code

public function load_strings() {
  list($type, $id) = $this
    ->get_string_context();
  return $this
    ->textgroup()
    ->load_strings(array(
    'type' => $type,
    'objectid' => $id,
  ));
}