/** * @param array $params array of parameters. Possible parameters include: * 'join_table_link_alias': alias the relationship join table in the query (for M2M * relationships), * 'join_table_alias': alias for the final table to be joined against (usually a module * main table) * @param bool $return_array if true the query is returned as a array broken up into * select, join, where, type, rel_key, and joined_tables * * @return string/array join query for this link */ function getJoin($params, $return_array = false) { return $this->relationship->getJoin($this, $params, $return_array); }