public function i18n_path_metatags_object::__construct in Path metatags 7
Class constructor
Overrides i18n_object_wrapper::__construct
File
- path_metatags_i18n/
path_metatags_i18n.inc, line 13 - Internationalization (i18n) class.
Class
- i18n_path_metatags_object
- Path metatags i18n object.
Code
public function __construct($type, $object) {
$this->type = $type;
$this->object = is_scalar($object) ? $this
->load_object($object) : $object;
}