src/ORM/DataQuery.php
public function innerJoin($table, $onClause, $alias = null, $order = 20, $parameters = array())
    {
        if ($table) {
            $this->query->addInnerJoin($table, $onClause, $alias, $order, $parameters);
        }
        return $this;
    }
public function innerJoin($table, $onClause, $alias = null, $order = 20, $parameters = array())
    {
        if ($table) {
            $this->query->addInnerJoin($table, $onClause, $alias, $order, $parameters);
        }
        return $this;
    }
public function innerJoin ( $ table , $ onClause , $ alias = null , $ order = 20 , $ parameters = array ( ) ) { if ( $ table ) { $ this -> query -> addInnerJoin ( $ table , $ onClause , $ alias , $ order , $ parameters ) ; } return $ this ; }
Add an INNER JOIN clause to this query.

@param string $table The unquoted table name to join to.
@param string $onClause The filter for the join (escaped SQL statement)
@param string $alias An optional alias name (unquoted)
@param int $order A numerical index to control the order that joins are added to the query; lower order values
will cause the query to appear first. The default is 20, and joins created automatically by the
ORM have a value of 10.
@param array $parameters Any additional parameters if the join is a parameterised subquery
@return $this
Add an INNER JOIN clause to this query .