public function useM2PQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinM2P($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'M2P', '\Attogram\SharedMedia\Orm\M2PQuery');
    }
public function useM2PQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinM2P($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'M2P', '\Attogram\SharedMedia\Orm\M2PQuery');
    }
public function useM2PQuery ( $ relationAlias = null , $ joinType = Criteria :: INNER_JOIN ) { return $ this -> joinM2P ( $ relationAlias , $ joinType ) -> useQuery ( $ relationAlias ? $ relationAlias : 'M2P' , '\Attogram\SharedMedia\Orm\M2PQuery' ) ; }
Use the M2P relation M2P 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 \Attogram\SharedMedia\Orm\M2PQuery A secondary query class using the current class as primary query
Use the M2P relation M2P object