public function useAdminQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinAdmin($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'Admin', '\Thelia\Model\AdminQuery');
    }
public function useAdminQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinAdmin($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'Admin', '\Thelia\Model\AdminQuery');
    }
public function useAdminQuery ( $ relationAlias = null , $ joinType = Criteria :: INNER_JOIN ) { return $ this -> joinAdmin ( $ relationAlias , $ joinType ) -> useQuery ( $ relationAlias ? $ relationAlias : 'Admin' , '\Thelia\Model\AdminQuery' ) ; }
Use the Admin relation Admin object

@see useQuery()

@param     string $relationAlias optional alias for the relation,
to be used as main alias in the secondary query
@param     string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

@return   \Thelia\Model\AdminQuery A secondary query class using the current class as primary query
Use the Admin relation Admin object