PHP Class Modelite, thinksns

Author: liuxiaoqing ([email protected])
Mostra file Open project: medz/thinksns-4

Protected Properties

Property Type Description
$error 最近错误信息

Public Methods

Method Description
__construct ( string $name = '' ) 架构函数 取得DB类的实例对象 字段检查
getError ( ) 获取最近的错误信息

Protected Methods

Method Description
_initialize ( ) 回调方法 初始化模型

Method Details

__construct() public method

架构函数 取得DB类的实例对象 字段检查
public __construct ( string $name = '' )
$name string 模型名称

_initialize() protected method

回调方法 初始化模型
protected _initialize ( )

getError() public method

获取最近的错误信息
public getError ( )

Property Details

$error protected_oe property

最近错误信息
protected $error