You are here

public function i18n_object_wrapper::get_string_info in Internationalization 7

Get object string translation info

4 calls to i18n_object_wrapper::get_string_info()
i18n_string_object_wrapper::build_properties in i18n_string/i18n_string.inc
Build properties from object.
i18n_string_object_wrapper::get_string_context in i18n_string/i18n_string.inc
Get string context
i18n_string_object_wrapper::get_textgroup in i18n_string/i18n_string.inc
Get textgroup name
i18n_string_object_wrapper::get_translate_path in i18n_string/i18n_string.inc
Get translate path for object

File

./i18n_object.inc, line 244
i18n Object Class

Class

i18n_object_wrapper
Object wrapper

Code

public function get_string_info($property, $default = NULL) {
  $info = $this
    ->get_info('string translation');
  return $info && isset($info[$property]) ? $info[$property] : $default;
}