Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Gdn_Plugin
setAddon
Gdn_Plugin::setAddon PHP Method
Gdn_Plugin Class Documentation
Mostra file
Open project: vanilla/vanilla
setAddon()
public
method
Set the addon that this plugin belongs to.
public
setAddon
(
Addon
$addon
) :
Gdn_Plugin
$addon
Vanilla\Addon
The new addon.
return
Gdn_Plugin
Returns `$this` for fluent calls.
public function setAddon(Addon $addon) { $this->addon = $addon; return $this; }
Gdn_Plugin
__construct
autoToggle
autoTogglePath
controller_index
dispatch
getAddon
getPluginFolder
getPluginIndex
getPluginKey
getPluginName
getResource
getUserMeta
getView
getWebResource
instance
isEnabled
makeMetaKey
render
setAddon
setUserMeta
setup
trimMetaKey
userMetaModel