Guest User

Untitled

a guest
Jul 16th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2. $criteria->having='hello = :param AND hello2 = :param2';
  3. $criteria->params[':param']=$someValue;
  4. $criteria->params[':param2']=$someValue2;
  5. $criteria->with=array('relation');
  6. return new CActiveDataProvider($this, array(
  7.             'criteria'=>$criteria,
  8. ));
Add Comment
Please, Sign In to add comment