文件末尾添加换行符

This commit is contained in:
麦当苗儿
2013-04-15 16:16:53 +08:00
parent 0dc1abcbe5
commit 9b1a67881e
85 changed files with 102 additions and 113 deletions

View File

@@ -223,5 +223,4 @@ class App {
//保证$_REQUEST正常取值 //保证$_REQUEST正常取值
$_REQUEST = array_merge($_POST,$_GET); $_REQUEST = array_merge($_POST,$_GET);
} }
} }

View File

@@ -12,7 +12,6 @@
namespace Think; namespace Think;
class Cache { class Cache {
/** /**
* 操作句柄 * 操作句柄
* @var object * @var object
@@ -36,5 +35,4 @@ class Cache {
static public function __callStatic($method, $params){ static public function __callStatic($method, $params){
return call_user_func_array(array(self::$handler, $method), $params); return call_user_func_array(array(self::$handler, $method), $params);
} }
} }

View File

@@ -13,7 +13,7 @@ namespace Think\Db\Driver;
use Think\Db\Driver; use Think\Db\Driver;
/** /**
* PDO数据库驱动 * mysql数据库驱动
* @category Extend * @category Extend
* @package Extend * @package Extend
* @subpackage Driver.Db * @subpackage Driver.Db

View File

@@ -113,24 +113,24 @@ class Oracle extends Driver{
/** /**
* 获取最后插入id ,仅适用于采用序列+触发器结合生成ID的方式 * 获取最后插入id ,仅适用于采用序列+触发器结合生成ID的方式
* 在config.php中指定 * 在config.php中指定
'DB_TRIGGER_PREFIX' => 'tr_', * 'DB_TRIGGER_PREFIX' => 'tr_',
'DB_SEQUENCE_PREFIX' => 'ts_', * 'DB_SEQUENCE_PREFIX' => 'ts_',
* eg:表 tb_user * eg:表 tb_user
相对tb_user的序列为 * 相对tb_user的序列为
-- Create sequence * -- Create sequence
create sequence TS_USER * create sequence TS_USER
minvalue 1 * minvalue 1
maxvalue 999999999999999999999999999 * maxvalue 999999999999999999999999999
start with 1 * start with 1
increment by 1 * increment by 1
nocache; * nocache;
相对tb_user,ts_user的触发器为 * 相对tb_user,ts_user的触发器为
create or replace trigger TR_USER * create or replace trigger TR_USER
before insert on "TB_USER" * before insert on "TB_USER"
for each row * for each row
begin * begin
select "TS_USER".nextval into :NEW.ID from dual; * select "TS_USER".nextval into :NEW.ID from dual;
end; * end;
* @access public * @access public
* @return integer * @return integer
*/ */

View File

@@ -227,5 +227,4 @@ class Loader {
} }
return $_instance[$identify]; return $_instance[$identify];
} }
} }

View File

@@ -81,5 +81,4 @@ class Log {
static public function write($log,$level,$destination='') { static public function write($log,$level,$destination='') {
self::$storage && self::$storage->write("{$level}: {$log}",$destination); self::$storage && self::$storage->write("{$level}: {$log}",$destination);
} }
} }

View File

@@ -1174,5 +1174,4 @@ class Model {
$this->$name = $value; $this->$name = $value;
return $this; return $this;
} }
} }

View File

@@ -12,7 +12,6 @@
namespace Think\Model; namespace Think\Model;
class Lite { class Lite {
// 当前数据库操作对象 // 当前数据库操作对象
protected $db = null; protected $db = null;
// 数据库名称 // 数据库名称

View File

@@ -68,5 +68,4 @@ class Oauth {
static public function call($api,$param='',$method='GET'){ static public function call($api,$param='',$method='GET'){
return self::$handler->call($api,$param,$method); return self::$handler->call($api,$param,$method);
} }
} }

View File

@@ -287,5 +287,4 @@ class Ubb{
return [$addr, $text]; return [$addr, $text];
} }
} }

View File

@@ -81,5 +81,4 @@ class Tag {
} }
return ; return ;
} }
} }

View File

@@ -611,5 +611,4 @@ class Cx extends TagLib {
$parseStr .= '<?php } ?>'; $parseStr .= '<?php } ?>';
return $parseStr; return $parseStr;
} }
}
}