You are here

public function i18n_object_wrapper::__construct in Internationalization 7

Class constructor

2 calls to i18n_object_wrapper::__construct()
i18n_field::__construct in i18n_field/i18n_field.inc
Class constructor
i18n_menu_link::__construct in i18n_menu/i18n_menu.inc
Class constructor
2 methods override i18n_object_wrapper::__construct()
i18n_field::__construct in i18n_field/i18n_field.inc
Class constructor
i18n_menu_link::__construct in i18n_menu/i18n_menu.inc
Class constructor

File

./i18n_object.inc, line 20
i18n Object Class

Class

i18n_object_wrapper
Object wrapper

Code

public function __construct($type, $key, $object) {
  $this->type = $type;
  $this->key = $key;
  $this->object = $object ? $object : $this
    ->load_object($key);
}