public function addToQuery(&$query) { parent::addToQuery($query); $query->selectField("\"{$this->tableName}\".\"{$this->name}ID\"", "{$this->name}ID"); $query->selectField("\"{$this->tableName}\".\"{$this->name}Class\"", "{$this->name}Class"); }