Revision: 19656
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 28, 2009 04:31 by saturnxxi
Initial Code
public static function getRandomUsers($num=1){ $c = new Criteria(); $c->addAscendingOrderByColumn('rand()'); $c->setLimit($num); $users = UserPeer::doSelect($c); return $users; }
Initial URL
http://snipplr.com/developer/
Initial Description
Initial Title
Get random Objects with Propel
Initial Tags
database
Initial Language
PHP