PHP Class DenouceWidget, thinksns

Author: jason
Inheritance: extends Widget
Mostrar archivo Open project: medz/thinksns-4

Public Methods

Method Description
getVar ( ) : array 格式化模板变量
index ( ) : string 举报弹框
isDenounce ( ) : json 判断资源是否已经被举报
post ( ) : array 提交举报
render ( $data ) : boolean

Method Details

getVar() public method

格式化模板变量
public getVar ( ) : array
return array 被举报的信息

index() public method

举报弹框
public index ( ) : string
return string 弹窗页面HTML

isDenounce() public method

判断资源是否已经被举报
public isDenounce ( ) : json
return json 判断后的相关信息

post() public method

提交举报
public post ( ) : array
return array 举报信息和操作状态

render() public method

public render ( $data ) : boolean
return boolean false