asprin
Guest
offline
My addon has the following controller
PHP:
Aim is to have the following in the template
HTML:
If I had to show users who are currently on page
Continue reading...
free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
PHP:
Code:
public function actionFoo()
{
$viewParams = ['someVariableThatHoldsInformation' => <fetch the details here>];
return $this->view('Asprin\CB:Foo', 'aspcb_my_template', $viewParams);
}
Aim is to have the following in the template
HTML:
Code:
<div>
Users viewing this page: {$someVariableThatHoldsInformation}
</div>
If I had to show users who are currently on page
aspcb_my_template, how do I get that info in my controller?Continue reading...
free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons