| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <?php/** * FecShop file. * * @link http://www.fecshop.com/ * @copyright Copyright (c) 2016 FecShop Software LLC * @license http://www.fecshop.com/license/ */namespace fecadmin\models;use Yii;use yii\db\ActiveRecord;use fec\helpers\CUrl;/** * @author Terry Zhao <2358269014@qq.com> * @since 1.0 */class AdminLog extends ActiveRecord{   	    public static function tableName()    {        return '{{%admin_visit_log}}';    }		/*	public function rules()    {		$current_rules = [			[['name', 'parent_id','url_key',], 'required'],			['sort_order','validateSortOrder'],		];		return $current_rules;    }		public function validateSortOrder($attribute,$params){		if($order = $this->sort_order){			if(!is_numeric($order)){				$this->addError($attribute,"sort_order must be numeric");			}		}	}	*/			}
 |