XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
system.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
20
class
NotificationsSystemPlugin
extends
Xoops\Module\Plugin\PluginAbstract
implements
SystemPluginInterface
21
{
22
public
function
userPosts
(
$uid
)
23
{
24
return
array();
25
}
26
27
public
function
waiting
()
28
{
29
return
0;
30
}
31
32
public
function
backend
(
$limit
)
33
{
34
return
array();
35
}
36
37
public
function
userMenus
()
38
{
39
$helper
=
Notifications::getInstance
();
40
$ret[
'name'
] =
$helper
->getModule()->getVar(
'name'
);
41
$ret[
'link'
] =
'index.php'
;
42
$ret[
'image'
] =
$helper
->url(
'icons/logo_small.png'
);
43
return
$ret;
44
}
45
}
NotificationsSystemPlugin\backend
backend($limit)
Definition:
system.php:32
NotificationsSystemPlugin\userPosts
userPosts($uid)
Definition:
system.php:22
SystemPluginInterface
Definition:
interface.php:19
Notifications\getInstance
static getInstance()
Definition:
helper.php:47
NotificationsSystemPlugin
Definition:
system.php:20
NotificationsSystemPlugin\userMenus
userMenus()
Definition:
system.php:37
$uid
if(!$xoops->isUser()) $uid
Definition:
index.php:31
$limit
$limit
Definition:
findusers.php:202
$helper
$helper
Definition:
xoops_images.php:16
NotificationsSystemPlugin\waiting
waiting()
Definition:
system.php:27
Xoops\Module\Plugin\PluginAbstract
Definition:
PluginAbstract.php:21
usr64
htdocs
modules
notifications
class
plugin
system.php
Generated on Fri May 22 2015 03:07:03 for XOOPS by
1.8.9.1