public innerJoin (mixed $model, [mixed $conditions], [mixed $alias])
Adds an INNER join to the query
$criteria->innerJoin('Robots'); $criteria->innerJoin('Robots', 'r.id = RobotsParts.robots_id'); $criteria->innerJoin('Robots', 'r.id = RobotsParts.robots_id', 'r');
Please login to continue.