def get_all_children(self, parenttype=None):
	"""Returns all children documents from **Table** type field in a list."""
	ret = []
	for df in self.meta.get_table_fields():
		if parenttype:
			if df.options == parenttype:
				return self.get(df.fieldname)

		value = getattr(self, df.fieldname, None)

		if isinstance(value, list):
			ret.extend(value)

	return ret