Merge pull request #438 from hooklife/bugfix3

修改架构函数为  构造方法
This commit is contained in:
ThinkPHP
2017-02-13 15:09:16 +08:00
committed by GitHub
31 changed files with 31 additions and 31 deletions

View File

@@ -40,7 +40,7 @@ class Controller
protected $beforeActionList = []; protected $beforeActionList = [];
/** /**
* 架构函数 * 构造方法
* @param Request $request Request对象 * @param Request $request Request对象
* @access public * @access public
*/ */

View File

@@ -109,7 +109,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
protected static $initialized = []; protected static $initialized = [];
/** /**
* 架构函数 * 构造方法
* @access public * @access public
* @param array|object $data 数据 * @param array|object $data 数据
*/ */

View File

@@ -120,7 +120,7 @@ class Request
protected $isCheckCache; protected $isCheckCache;
/** /**
* 构函数 * 构函数
* @access protected * @access protected
* @param array $options 参数 * @param array $options 参数
*/ */

View File

@@ -40,7 +40,7 @@ class Response
protected $content = null; protected $content = null;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param mixed $data 输出数据 * @param mixed $data 输出数据
* @param int $code * @param int $code

View File

@@ -57,7 +57,7 @@ class Template
protected $storage; protected $storage;
/** /**
* 构函数 * 构函数
* @access public * @access public
*/ */
public function __construct(array $config = []) public function __construct(array $config = [])

View File

@@ -102,7 +102,7 @@ class Validate
protected $batch = false; protected $batch = false;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param array $rules 验证规则 * @param array $rules 验证规则
* @param array $message 验证提示信息 * @param array $message 验证提示信息

View File

@@ -25,7 +25,7 @@ class View
protected $replace = []; protected $replace = [];
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param array $engine 模板引擎参数 * @param array $engine 模板引擎参数
* @param array $replace 字符串替换参数 * @param array $replace 字符串替换参数

View File

@@ -28,7 +28,7 @@ class File extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options * @param array $options
*/ */
public function __construct($options = []) public function __construct($options = [])

View File

@@ -26,7 +26,7 @@ class Lite extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @access public * @access public
* *
* @param array $options * @param array $options

View File

@@ -25,7 +25,7 @@ class Memcache extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @access public * @access public
* @throws \BadFunctionCallException * @throws \BadFunctionCallException

View File

@@ -27,7 +27,7 @@ class Memcached extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @access public * @access public
*/ */

View File

@@ -34,7 +34,7 @@ class Redis extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @access public * @access public
*/ */

View File

@@ -28,7 +28,7 @@ class Sqlite extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @throws \BadFunctionCallException * @throws \BadFunctionCallException
* @access public * @access public

View File

@@ -25,7 +25,7 @@ class Wincache extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @throws \BadFunctionCallException * @throws \BadFunctionCallException
* @access public * @access public

View File

@@ -25,7 +25,7 @@ class Xcache extends Driver
]; ];
/** /**
* 构函数 * 构函数
* @param array $options 缓存参数 * @param array $options 缓存参数
* @access public * @access public
* @throws \BadFunctionCallException * @throws \BadFunctionCallException

View File

@@ -32,7 +32,7 @@ abstract class Rest
]; ];
/** /**
* 构函数 取得模板对象实例 * 构函数 取得模板对象实例
* @access public * @access public
*/ */
public function __construct() public function __construct()

View File

@@ -18,7 +18,7 @@ abstract class Yar
{ {
/** /**
* 构函数 * 构函数
* @access public * @access public
*/ */
public function __construct() public function __construct()

View File

@@ -32,7 +32,7 @@ abstract class Builder
protected $deleteSql = 'DELETE FROM %TABLE% %USING% %JOIN% %WHERE% %ORDER%%LIMIT% %LOCK%%COMMENT%'; protected $deleteSql = 'DELETE FROM %TABLE% %USING% %JOIN% %WHERE% %ORDER%%LIMIT% %LOCK%%COMMENT%';
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Connection $connection 数据库连接对象实例 * @param Connection $connection 数据库连接对象实例
* @param Query $query 数据库查询对象实例 * @param Query $query 数据库查询对象实例

View File

@@ -125,7 +125,7 @@ abstract class Connection
protected $bind = []; protected $bind = [];
/** /**
* 构函数 读取数据库配置信息 * 构函数 读取数据库配置信息
* @access public * @access public
* @param array $config 数据库配置数组 * @param array $config 数据库配置数组
*/ */

View File

@@ -54,7 +54,7 @@ class Query
private static $event = []; private static $event = [];
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Connection $connection 数据库对象实例 * @param Connection $connection 数据库对象实例
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -43,7 +43,7 @@ class Socket
protected $allowForceClientIds = []; //配置强制推送且被授权的client_id protected $allowForceClientIds = []; //配置强制推送且被授权的client_id
/** /**
* 构函数 * 构函数
* @param array $config 缓存参数 * @param array $config 缓存参数
* @access public * @access public
*/ */

View File

@@ -22,7 +22,7 @@ class Merge extends Model
protected $mapFields = []; // 需要处理的模型映射字段,避免混淆 array( id => 'user.id' ) protected $mapFields = []; // 需要处理的模型映射字段,避免混淆 array( id => 'user.id' )
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param array|object $data 数据 * @param array|object $data 数据
*/ */

View File

@@ -17,7 +17,7 @@ class Pivot extends Model
{ {
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param array|object $data 数据 * @param array|object $data 数据
* @param string $table 中间数据表名 * @param string $table 中间数据表名

View File

@@ -17,7 +17,7 @@ use think\Model;
class BelongsTo extends OneToOne class BelongsTo extends OneToOne
{ {
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -24,7 +24,7 @@ class BelongsToMany extends Relation
protected $middle; protected $middle;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -20,7 +20,7 @@ use think\model\Relation;
class HasMany extends Relation class HasMany extends Relation
{ {
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -26,7 +26,7 @@ class HasManyThrough extends Relation
protected $through; protected $through;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -18,7 +18,7 @@ use think\Model;
class HasOne extends OneToOne class HasOne extends OneToOne
{ {
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -27,7 +27,7 @@ class MorphMany extends Relation
protected $type; protected $type;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $model 模型名 * @param string $model 模型名

View File

@@ -25,7 +25,7 @@ class MorphTo extends Relation
protected $alias; protected $alias;
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param Model $parent 上级模型对象 * @param Model $parent 上级模型对象
* @param string $morphType 多态字段名 * @param string $morphType 多态字段名

View File

@@ -68,7 +68,7 @@ class TagLib
protected $comparison = [' nheq ' => ' !== ', ' heq ' => ' === ', ' neq ' => ' != ', ' eq ' => ' == ', ' egt ' => ' >= ', ' gt ' => ' > ', ' elt ' => ' <= ', ' lt ' => ' < ']; protected $comparison = [' nheq ' => ' !== ', ' heq ' => ' === ', ' neq ' => ' != ', ' eq ' => ' == ', ' egt ' => ' >= ', ' gt ' => ' > ', ' elt ' => ' <= ', ' lt ' => ' < '];
/** /**
* 构函数 * 构函数
* @access public * @access public
* @param \stdClass $template 模板引擎对象 * @param \stdClass $template 模板引擎对象
*/ */