public function joinAttributeType($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        $tableMap = $this->getTableMap();
        $relationMap = $tableMap->getRelation('AttributeType');

        // create a ModelJoin object for this join
        $join = new ModelJoin();
        $join->setJoinType($joinType);
        $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias);
        if ($previousJoin = $this->getPreviousJoin()) {
            $join->setPreviousJoin($previousJoin);
        }

        // add the ModelJoin to the current object
        if ($relationAlias) {
            $this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
            $this->addJoinObject($join, $relationAlias);
        } else {
            $this->addJoinObject($join, 'AttributeType');
        }

        return $this;
    }
public function joinAttributeType($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        $tableMap = $this->getTableMap();
        $relationMap = $tableMap->getRelation('AttributeType');

        // create a ModelJoin object for this join
        $join = new ModelJoin();
        $join->setJoinType($joinType);
        $join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias);
        if ($previousJoin = $this->getPreviousJoin()) {
            $join->setPreviousJoin($previousJoin);
        }

        // add the ModelJoin to the current object
        if ($relationAlias) {
            $this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
            $this->addJoinObject($join, $relationAlias);
        } else {
            $this->addJoinObject($join, 'AttributeType');
        }

        return $this;
    }
public function joinAttributeType ( $ relationAlias = null , $ joinType = Criteria :: INNER_JOIN ) { $ tableMap = $ this -> getTableMap ( ) ; $ relationMap = $ tableMap -> getRelation ( 'AttributeType' ) ; // create a ModelJoin object for this join $ join = new ModelJoin ( ) ; $ join -> setJoinType ( $ joinType ) ; $ join -> setRelationMap ( $ relationMap , $ this -> useAliasInSQL ? $ this -> getModelAlias ( ) : null , $ relationAlias ) ; if ( $ previousJoin = $ this -> getPreviousJoin ( ) ) { $ join -> setPreviousJoin ( $ previousJoin ) ; } // add the ModelJoin to the current object if ( $ relationAlias ) { $ this -> addAlias ( $ relationAlias , $ relationMap -> getRightTable ( ) -> getName ( ) ) ; $ this -> addJoinObject ( $ join , $ relationAlias ) ; } else { $ this -> addJoinObject ( $ join , 'AttributeType' ) ; } return $ this ; }
Adds a JOIN clause to the query using the AttributeType relation

@param     string $relationAlias optional alias for the relation
@param     string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

@return ChildAttributeAttributeTypeQuery The current query, for fluid interface
Adds a JOIN clause to the query using the AttributeType relation