liu21st/thinkphp — pull request #63 by phpcxy (2013-06-23 14:14:21+00:00)
Title: 修正动态扩展模型方法里面的属性传递

按照现在手册里面的操作，第二个参数是传不进去的。
```php
$UserView = $User->switchModel("View",array("viewFields"));
```
这样修改后，可以这样来传
```php
$viewFields = array(
'Blog'=>array('id','name','title'),
'Category'=>array('title'=>'category_name', '_on'=>'Blog.category_id=Category.id'),
'User'=>array('name'=>'username', '_on'=>'Blog.user_id=User.id'),
);
$UserView = $User->switchModel("View",array("viewFields"=>$viewFields));
```