Version Notes
If you have ideas for improvements or find bugs, please send them to Jean-Sébastien Hederer at contact@asperience.fr, with ASPerience_AddressComplete as part of the subject line.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Asperience_Notificationmanager |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
- app/code/community/Asperience/Notificationmanager/Helper/Data.php +2 -1
- app/code/community/Asperience/Notificationmanager/Model/Observer.php +2 -2
- app/code/community/Asperience/Notificationmanager/etc/adminhtml.xml +0 -12
- app/code/community/Asperience/Notificationmanager/etc/config.xml +1 -1
- package.xml +12 -9
app/code/community/Asperience/Notificationmanager/Helper/Data.php
CHANGED
@@ -9,7 +9,8 @@
|
|
9 |
class Asperience_Notificationmanager_Helper_Data extends Mage_Core_Helper_Data
|
10 |
{
|
11 |
|
12 |
-
public function createAdminNotification($title, $desc, $url, $severity=Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE)
|
|
|
13 |
$message = Mage::getModel ( 'adminnotification/inbox' )
|
14 |
->setDateAdded(Mage::getModel('core/date')->gmtDate())
|
15 |
->setTitle($title)
|
9 |
class Asperience_Notificationmanager_Helper_Data extends Mage_Core_Helper_Data
|
10 |
{
|
11 |
|
12 |
+
public function createAdminNotification($title, $desc, $url, $severity=Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE)
|
13 |
+
{
|
14 |
$message = Mage::getModel ( 'adminnotification/inbox' )
|
15 |
->setDateAdded(Mage::getModel('core/date')->gmtDate())
|
16 |
->setTitle($title)
|
app/code/community/Asperience/Notificationmanager/Model/Observer.php
CHANGED
@@ -8,9 +8,9 @@
|
|
8 |
|
9 |
class Asperience_Notificationmanager_Model_Observer {
|
10 |
|
11 |
-
public function checkNotifications($user)
|
|
|
12 |
$model = new Asperience_Notificationmanager_Model_FeedReader();
|
13 |
$model->checkUpdate();
|
14 |
}
|
15 |
-
|
16 |
}
|
8 |
|
9 |
class Asperience_Notificationmanager_Model_Observer {
|
10 |
|
11 |
+
public function checkNotifications($user)
|
12 |
+
{
|
13 |
$model = new Asperience_Notificationmanager_Model_FeedReader();
|
14 |
$model->checkUpdate();
|
15 |
}
|
|
|
16 |
}
|
app/code/community/Asperience/Notificationmanager/etc/adminhtml.xml
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<translate>
|
4 |
-
<modules>
|
5 |
-
<Asperience_Notificationmanager>
|
6 |
-
<files>
|
7 |
-
<default>Asperience_Notificationmanager.csv</default>
|
8 |
-
</files>
|
9 |
-
</Asperience_Notificationmanager>
|
10 |
-
</modules>
|
11 |
-
</translate>
|
12 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Asperience/Notificationmanager/etc/config.xml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Asperience_Notificationmanager>
|
12 |
-
<version>0.1.
|
13 |
</Asperience_Notificationmanager>
|
14 |
</modules>
|
15 |
<global>
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Asperience_Notificationmanager>
|
12 |
+
<version>0.1.1</version>
|
13 |
</Asperience_Notificationmanager>
|
14 |
</modules>
|
15 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,21 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Asperience_Notificationmanager</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>This module
|
10 |
-
<description>This module
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
<
|
|
|
|
|
|
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Asperience_Notificationmanager</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>This module notifies admin users from ASPerience modules news</summary>
|
10 |
+
<description>This module notifies admin users from ASPerience modules news: general news and installation/update news
|
11 |
+

|
12 |
+
This module is developed by ASPerience, french company. 
|
13 |
+
<a target="_blank" url="http://www.asperience.fr">http://www.asperience.fr</a></description>
|
14 |
+
<notes>If you have ideas for improvements or find bugs, please send them to Jean-Sébastien Hederer at contact@asperience.fr, with ASPerience_AddressComplete as part of the subject line.</notes>
|
15 |
+
<authors><author><name>Jean-Sébastien Hederer</name><user>auto-converted</user><email>hedererjs@asperience.fr</email></author></authors>
|
16 |
+
<date>2014-12-04</date>
|
17 |
+
<time>18:18:44</time>
|
18 |
+
<contents><target name="magecommunity"><dir name="Asperience"><dir name="Notificationmanager"><dir name="Helper"><file name="Data.php" hash="6133cd97cf59e92ce151f25e33cd30be"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="a402f6177549166049742b250c5f99a5"/></dir><file name="FeedReader.php" hash="de1748a5595a1f48f6c6e1d8a5ad5567"/><file name="Observer.php" hash="fbc77fc81c93148ce1425bd45d924640"/></dir><dir name="etc"><file name="config.xml" hash="2e4927d88939505c304eb2656b6179a0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Asperience_Notificationmanager.xml" hash="88a3edd6e3361b4273e930378ca5b529"/></dir></target></contents>
|
19 |
<compatible/>
|
20 |
+
<dependencies/>
|
21 |
</package>
|