Example #1
0
 function __construct($id = 0)
 {
     parent::__construct();
     $this->id = $id;
 }
 /**
  * 设置静态错误
  * @param $msg
  * @param int $code
  * @return bool
  */
 public function setStaticErrorFalse($msg, $code = -1)
 {
     self::$static_error = array('msg' => $msg, 'code' => $code);
     return false;
 }