文件末尾添加换行符

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 = array_merge($_POST,$_GET);
}
}

View File

@@ -12,7 +12,6 @@
namespace Think;
class Cache {
/**
* 操作句柄
* @var object
@@ -36,5 +35,4 @@ class Cache {
static public function __callStatic($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;
/**
* PDO数据库驱动
* mysql数据库驱动
* @category Extend
* @package Extend
* @subpackage Driver.Db

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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