添加后台代理代码
This commit is contained in:
27
codes/agent/game/api/lib/phprs/ezsql/Native.php
Normal file
27
codes/agent/game/api/lib/phprs/ezsql/Native.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* $Id: Native.php 131 2015-10-10 02:25:57Z yangmin.cao $
|
||||
* @author caoym(caoyangmin@gmail.com)
|
||||
*/
|
||||
namespace phprs\ezsql;
|
||||
/**
|
||||
* 原始sql字符串, 拼接时不进行转义
|
||||
* @author caoym
|
||||
*
|
||||
*/
|
||||
class Native
|
||||
{
|
||||
/**
|
||||
* @param string $str
|
||||
*/
|
||||
function __construct($str) {
|
||||
$this->str = $str;
|
||||
}
|
||||
public function __toString(){
|
||||
return $this->str;
|
||||
}
|
||||
public function get(){
|
||||
return $this->str;
|
||||
}
|
||||
private $str;
|
||||
}
|
||||
Reference in New Issue
Block a user