Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // case 1
- SomeActiveRecord::model()->findAll(array('order'=>'somefieldfield'));
- // case 2
- HistorialRanking::model()->findAll(
- array(
- "condition" => "tipo = 'karma' and fecha = date(now())",
- "order" => "posicion desc"
- )
- );
Add Comment
Please, Sign In to add comment