mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 05:02:48 +08:00
增加 Think\Model\ExtendModel
Think\Model\RelationModel Think\Model\ViewModel 三个模型组装示例
This commit is contained in:
16
Library/Think/Model/ViewModel.php
Normal file
16
Library/Think/Model/ViewModel.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | TOPThink [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2011 http://topthink.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Model;
|
||||
T('Think/Model/View');
|
||||
class ViewModel extends \Think\Model {
|
||||
use \Traits\Think\View;
|
||||
}
|
||||
Reference in New Issue
Block a user