\Addons\RocketToTopRocketToTopAddon

小火箭返回顶部

Summary

Methods
Properties
Constants
__construct()
getName()
checkInfo()
getConfig()
install()
uninstall()
PageFooter()
$info
$addon_path
$config_file
$custom_config
$admin_list
$custom_adminlist
$access_url
No constants found
theme()
display()
assign()
fetch()
$view
N/A
No private methods found
No private properties found
N/A

Properties

$info

$info : 

插件信息

Type

$addon_path

$addon_path : 

Type

$config_file

$config_file : 

Type

$custom_config

$custom_config : 

Type

$admin_list

$admin_list : 

Type

$custom_adminlist

$custom_adminlist : 

Type

$access_url

$access_url : 

Type

$view

$view : \Common\Controller\view

视图实例对象

Type

\Common\Controller\view

Methods

__construct()

__construct() 

构造方法

getName()

getName() 

获取名称

checkInfo()

checkInfo() 

检查信息

getConfig()

getConfig(  $name = '') 

获取插件的配置数组

Parameters

$name

install()

install() 

插件安装方法

uninstall()

uninstall() 

插件卸载方法

PageFooter()

PageFooter(  $param) 

实现的PageFooter钩子方法

Parameters

$param

theme()

theme(string  $theme) : \Common\Controller\Action

模板主题设置

Parameters

string $theme

模版主题

Returns

\Common\Controller\Action

display()

display(  $file = '') 

显示方法

Parameters

$file

assign()

assign(mixed  $name, mixed  $value = '') : \Common\Controller\Action

模板变量赋值

Parameters

mixed $name

要显示的模板变量

mixed $value

变量的值

Returns

\Common\Controller\Action

fetch()

fetch(  $templateFile = CONTROLLER_NAME) 

用于显示模板的方法

Parameters

$templateFile