public static function get_by_object($object) {
		$db = Database::Get();
		$class = get_class($object);
		$data = $db->get_all('SELECT * FROM object_text WHERE classname=? AND object_id=?', [ $class, $object->id ]);
		$object_texts = [];
		foreach ($data as $details) {
			$object_text = new self();
			$object_text->id = $details['id'];
			$object_text->details = $details;

			$object_texts[] = $object_text;
		}

		return $object_texts;
	}