function __construct($object) { parent::__construct($object->type, $object->type_id, $object->id, $object->name); self::$_instance = $this; }