All pastes #762152 Raw Edit

Something

public text v1 · immutable
·published 2007-11-05 12:59 UTC
rendered paste body
Here's the code:
		// List gangs
		$c = new Criteria();
		$c->addJoin(GangPeer::GANG_USER, UserPeer::ID, Criteria::LEFT_JOIN);
		$c->addJoin(GangPeer::GANG_COUNTRY, CountryPeer::ID);

CountryPeer::addSelectColumns($c);
		
		$gangs = GangPeer::doSelect($c);