query->load($ref); $component = $table->getComponentName(); $r[] = $this->query->getTableAlias($ref).".".$field; } return implode(", ", $r); } public function __toString() { return ( ! empty($this->parts))?implode(", ", $this->parts):''; } }