Advertisement
christiansalazarh

findAllByAttributes order

Nov 25th, 2012
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.15 KB | None | 0 0
  1. $filterArr = array('username'=>'jack');
  2. $conditionArr = array('order'=>'creationdate');
  3. User::model()->findAllByAttributes($filterArr, $conditionArr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement