コード例 #1
0
ファイル: user.class.php プロジェクト: hetianxing668/zhuwo
 function __construct($id = 0)
 {
     parent::__construct();
     $this->id = $id;
 }
コード例 #2
0
 /**
  * 设置静态错误
  * @param $msg
  * @param int $code
  * @return bool
  */
 public function setStaticErrorFalse($msg, $code = -1)
 {
     self::$static_error = array('msg' => $msg, 'code' => $code);
     return false;
 }