Method | Description | |
---|---|---|
HtmlDecode ( this theString ) : string |
Html解码
|
|
HtmlEncode ( this theString ) : string |
Html编码
|
|
StringFilter ( this source ) : string |
字符串处理,将字符串中 #{str}/@{str} 处理成 str
|
|
SubStr ( this str, int length ) : string |
字符串截取
|
|
ToDbValue ( this userInput ) : string |
转换成mysql值
|
|
ToImageSrc ( |
将值转换成图片显示
|
|
ToJson ( this model ) : string |
序列化MQModel实体信息
|
public static HtmlDecode ( this theString ) : string | ||
theString | this | |
return | string |
public static HtmlEncode ( this theString ) : string | ||
theString | this | |
return | string |
public static StringFilter ( this source ) : string | ||
source | this | 源字符串 |
return | string |
public static SubStr ( this str, int length ) : string | ||
str | this | 源字符串 |
length | int | 长度 |
return | string |
public static ToDbValue ( this userInput ) : string | ||
userInput | this | |
return | string |
public static ToImageSrc ( |
||
request | 请求 | |
value | string | 转换值 |
imageSrc | string | 可访问图片源地址 |
return | bool |
public static ToJson ( this model ) : string | ||
model | this | MQModel实体 |
return | string |