Sindbad~EG File Manager

Current Path : /var/www/html/aprendizajesetac.sumar.com.py/analytics/assets/app/core/
Upload File :
Current File : /var/www/html/aprendizajesetac.sumar.com.py/analytics/assets/app/core/Model.class.php

<?php
/*
* @link http://kodcloud.com/
* @author warlee | e-mail:kodcloud@qq.com
* @copyright warlee 2014.(Shanghai)Co.,Ltd
* @license http://kodcloud.com/tools/license/license.txt
*/

/**
 * 模型抽象类
 * 一个关于各种模型的基本行为类,每个模型都必须继承这个类的方法
 */

abstract class Model {
	var $db = null;
	var $in;
	var $config;

	/**
	 * 构造函数
	 * @return Null 
	 */
	function __construct(){
		global $config, $in;
		$this -> in = &$in;
		$this -> config = &$config;
	}
	
	/**
	 * TODO db 
	 */
	function db(){
		if ($this ->db != NULL) {
			return $this ->db;
		}else{
		}
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists