private static function _setError($no, $msg) { if (is_array(self::$error_no)) { self::$error_no[] = $no; self::$error_msg[] = $msg; } else { if (self::$error_no != null) { self::$error_no = array(self::$error_no, $no); self::$error_msg = array(self::$error_msg, $msg); } else { self::$error_no = $no; self::$error_msg = $msg; } } }