Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class BranchUserController extends MController
- {
- public function actionIndex()
- {
- $users = new UserDetail('search');
- $users->unsetAttributes();
- if(isset($_GET['UserDetail']))
- $users->attributes =$_GET['UserDetail'];
- $data =array(
- 'users'=>$users,
- 'provider'=>'$users->search()',
- );
- $this->render('index',$data);
- }
Advertisement
Add Comment
Please, Sign In to add comment