PHP Class DiyWidgetModel, thinksns

Author: Stream
Inheritance: extends Model
ファイルを表示 Open project: medz/thinksns-4

Protected Properties

Property Type Description
$tableName

Public Methods

Method Description
checkCache ( $sign )
checkHasWidget ( unknown_type $sign ) : boolean 是否存在相同的模块
getCache ( $sign )
getTagInfo ( string $sign ) : mixed 返回模块参数
getTagInofs ( array $sign ) : mixed 返回模块参数 $sign是数组
getTagName ( $widgetId ) 通过id获取到该widget的tagName
getTemplateByPluginId ( $pluginId ) 通过id获取到该widget的模板
getTemplateByWidgetId ( $WidgetId ) 通过id获取到该widget的模板
saveCache ( $sign, $content )
setTemplate ( $widgetId, $content ) 通过Id更新该widget的样式模板

Method Details

checkCache() public method

public checkCache ( $sign )

checkHasWidget() public method

是否存在相同的模块
public checkHasWidget ( unknown_type $sign ) : boolean
$sign unknown_type
return boolean

getCache() public method

public getCache ( $sign )

getTagInfo() public method

返回模块参数
public getTagInfo ( string $sign ) : mixed
$sign string
return mixed

getTagInofs() public method

返回模块参数 $sign是数组
public getTagInofs ( array $sign ) : mixed
$sign array
return mixed

getTagName() public method

通过id获取到该widget的tagName
public getTagName ( $widgetId )

getTemplateByPluginId() public method

通过id获取到该widget的模板
public getTemplateByPluginId ( $pluginId )

getTemplateByWidgetId() public method

通过id获取到该widget的模板
public getTemplateByWidgetId ( $WidgetId )

saveCache() public method

public saveCache ( $sign, $content )

setTemplate() public method

通过Id更新该widget的样式模板
public setTemplate ( $widgetId, $content )

Property Details

$tableName protected_oe property

protected $tableName