src/Slashworks/BackendBundle/Model/om/BaseRole.php
public function getUserRolesJoinUser($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
    {
        $query = UserRoleQuery::create(null, $criteria);
        $query->joinWith('User', $join_behavior);

        return $this->getUserRoles($query, $con);
    }
public function getUserRolesJoinUser($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
    {
        $query = UserRoleQuery::create(null, $criteria);
        $query->joinWith('User', $join_behavior);

        return $this->getUserRoles($query, $con);
    }
public function getUserRolesJoinUser ( $ criteria = null , $ con = null , $ join_behavior = Criteria :: LEFT_JOIN ) { $ query = UserRoleQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'User' , $ join_behavior ) ; return $ this -> getUserRoles ( $ query , $ con ) ; }
If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Role is new, it will return
an empty collection; or if this Role has previously
been saved, it will retrieve related UserRoles from storage.

This method is protected by default in order to keep the public
api reasonable.  You can provide public methods for those you
actually need in Role.

@param Criteria $criteria optional Criteria object to narrow the query
@param PropelPDO $con optional connection object
@param string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
@return PropelObjectCollection|UserRole[] List of UserRole objects
If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Role is new it will return an empty collection ; or if this Role has previously been saved it will retrieve related UserRoles from storage .