mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
文件注释规范调整
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org;
|
||||
class Crypt {
|
||||
|
||||
class Crypt {
|
||||
/**
|
||||
* 加密字符串
|
||||
* @access static
|
||||
|
||||
@@ -8,10 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: 麦当苗儿 <zuojiazi.cn@gmail.com> <http://www.zjzit.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
// | ImageGd.class.php 2013-03-05
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org\Image\Driver;
|
||||
|
||||
class Gd{
|
||||
/**
|
||||
* 图像资源对象
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: 麦当苗儿 <zuojiazi.cn@gmail.com> <http://www.zjzit.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
// | GIF.class.php 2013-03-09
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org\Image\Driver;
|
||||
|
||||
class Gif{
|
||||
/**
|
||||
* GIF帧列表
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org\Image\Driver;
|
||||
|
||||
class Imagick{
|
||||
/**
|
||||
* 图像资源对象
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org;
|
||||
|
||||
// oauth登录接口
|
||||
// <code>
|
||||
// Oauth::connect('qq',['app_key'=>'','app_secret'=>'','callback'=>'','authorize'=>'']); // 链接QQ登录
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Baidu extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Diandian extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Douban extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Github extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Google extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Kaixin extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Msn extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Qq extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Renren extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Sina extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Sohu extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class T163 extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Taobao extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class Tencent extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Org\Oauth\Driver;
|
||||
use Org\Oauth\Driver;
|
||||
|
||||
class X360 extends Driver{
|
||||
/**
|
||||
* 获取requestCode的api接口
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org;
|
||||
|
||||
// 内容解析类
|
||||
class Parser {
|
||||
|
||||
|
||||
@@ -11,9 +11,7 @@
|
||||
# <http://daringfireball.net/projects/markdown/>
|
||||
#
|
||||
|
||||
/**
|
||||
* 应用到ThinkPHP中,因而修改为ThinkPHP规范的命名空间
|
||||
*/
|
||||
# 应用到ThinkPHP中,因而修改为ThinkPHP规范的命名空间
|
||||
# namespace Michelf;
|
||||
namespace Org\Parser\Driver;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Org;
|
||||
|
||||
class Upload {
|
||||
protected $config = [
|
||||
'max_size' => -1, // 上传文件的最大值
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Auto {
|
||||
|
||||
protected $auto = [];
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Behavior;
|
||||
use Think\Config;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:模板内容输出替换
|
||||
* @category Think
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Think\Behavior;
|
||||
use Think\Config;
|
||||
use Think\Log;
|
||||
use Think\Debug;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:页面Trace显示输出
|
||||
* @category Think
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Cache {
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* 数据库方式缓存驱动
|
||||
* CREATE TABLE think_cache (
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Eaccelerator缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Memcache缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Redis缓存驱动
|
||||
* 要求安装phpredis扩展:https://github.com/nicolasff/phpredis
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Secache缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* 文件类型缓存类
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Sqlite缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Wincache缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Cache\Driver;
|
||||
|
||||
/**
|
||||
* Xcache缓存驱动
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Config {
|
||||
static private $_config = []; // 配置参数
|
||||
static private $_range = '_sys_'; // 参数作用域
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Config\Driver;
|
||||
|
||||
class Ini {
|
||||
public function parse($config){
|
||||
if(is_file($config)) {
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Config\Driver;
|
||||
|
||||
class Xml {
|
||||
public function parse($config){
|
||||
if(is_file($config)) {
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Controller {
|
||||
// 视图类实例
|
||||
protected $view = null;
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Controller;
|
||||
abstract class Phprpc {
|
||||
|
||||
abstract class Phprpc {
|
||||
/**
|
||||
* PHPRpc控制器架构函数
|
||||
* @access public
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Controller;
|
||||
|
||||
abstract class Rest {
|
||||
|
||||
protected $_method = ''; // 当前请求类型
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Cookie {
|
||||
|
||||
static protected $config = [
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Create {
|
||||
static public function build($build) {
|
||||
// 锁定
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think;
|
||||
|
||||
/**
|
||||
* ThinkPHP 数据库中间层实现类
|
||||
*/
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Db;
|
||||
use Think\Config;
|
||||
use Think\Debug;
|
||||
use Think\Log;
|
||||
use PDO;
|
||||
|
||||
abstract class Driver {
|
||||
// PDO操作实例
|
||||
protected $PDOStatement = null;
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Db\Driver;
|
||||
use Think\Db\Driver;
|
||||
|
||||
/**
|
||||
* PDO数据库驱动
|
||||
* @category Extend
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Db\Driver;
|
||||
use Think\Db\Driver;
|
||||
|
||||
/**
|
||||
* Oracle数据库驱动
|
||||
* @category Extend
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Db\Driver;
|
||||
use Think\Db\Driver;
|
||||
|
||||
/**
|
||||
* Pgsql数据库驱动
|
||||
* @category Extend
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Db\Driver;
|
||||
use Think\Db\Driver;
|
||||
|
||||
/**
|
||||
* Sqlite数据库驱动
|
||||
* @category Extend
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Think\Db\Driver;
|
||||
use Think\Db\Driver;
|
||||
|
||||
/**
|
||||
* Sqlsrv数据库驱动
|
||||
* @category Extend
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Db;
|
||||
use Think\Config;
|
||||
use Think\Debug;
|
||||
use Think\Log;
|
||||
use PDO;
|
||||
|
||||
class Lite {
|
||||
// PDO操作实例
|
||||
protected $PDOStatement = null;
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
namespace Think;
|
||||
class Debug {
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Debug {
|
||||
|
||||
static protected $_info = [];
|
||||
static protected $_mem = [];
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
namespace Think;
|
||||
class Error {
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Error {
|
||||
/**
|
||||
* 自定义异常处理
|
||||
* @access public
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Exception extends \Exception {
|
||||
|
||||
}
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Filter {
|
||||
//html标签设置
|
||||
static public $htmlTags = [
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Input {
|
||||
// 全局过滤规则
|
||||
static $filter = NULL;
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Lang {
|
||||
static private $_lang = []; // 语言参数
|
||||
static private $_range = '_sys_'; // 作用域
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think;
|
||||
class Log {
|
||||
|
||||
class Log {
|
||||
// 日志信息
|
||||
static protected $log = [];
|
||||
static protected $level = ['ERR','NOTIC','DEBUG','SQL','INFO'];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Log\Driver;
|
||||
|
||||
class File {
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Model;
|
||||
|
||||
class Lite {
|
||||
|
||||
// 当前数据库操作对象
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Route {
|
||||
// 路由规则
|
||||
static private $rules = [
|
||||
|
||||
@@ -8,9 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Session\Driver;
|
||||
use SessionHandler;
|
||||
|
||||
class Driver extends SessionHandler {
|
||||
protected $config = [];
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Session {
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Tag {
|
||||
|
||||
static private $tags = [];
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Template\Driver;
|
||||
|
||||
class File {
|
||||
// 写入编译缓存
|
||||
public function write($cacheFile,$content){
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\Template;
|
||||
|
||||
/**
|
||||
* ThinkPHP标签库TagLib解析基类
|
||||
* @category Think
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Think\Template\TagLib;
|
||||
use Think\Template\TagLib;
|
||||
|
||||
/**
|
||||
* CX标签库解析类
|
||||
* @category Think
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Url {
|
||||
|
||||
static public function param($num,$default=''){
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
class Validate {
|
||||
|
||||
protected $validate = []; // 自动验证定义
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
namespace Think;
|
||||
class View {
|
||||
|
||||
namespace Think;
|
||||
|
||||
class View {
|
||||
protected $engine = null; // 模板引擎实例
|
||||
protected $theme = ''; // 模板主题名称
|
||||
protected $data = []; // 模板变量
|
||||
|
||||
@@ -8,9 +8,10 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think\View\Driver;
|
||||
use Think\Template;
|
||||
|
||||
class Think {
|
||||
private $template = null;
|
||||
public function __construct($config=[]){
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
// 惯例配置文件
|
||||
return [
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
// $Id$
|
||||
|
||||
namespace Think;
|
||||
|
||||
//--------------------------
|
||||
// ThinkPHP 引导文件
|
||||
//--------------------------
|
||||
|
||||
Reference in New Issue
Block a user