Working to get installation working smootly.
[pivip.git] / project / modules / notify / Module.php
blob0c8c24636b9578f32cf0582ab48c310b7c1cd6dd
1 <?php
3 /**
4 * Pivip
5 * Copyright (C) 2008 Vincent Tunru
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20 * @license http://www.fsf.org/licensing/licenses/info/GPLv2.html GPL v.2
21 * @category PivipModulesDefault
22 * @package Module_Notify
23 * @copyright (C) 2008 Vincent Tunru
24 * @author Vincent Tunru <email@vincentt.org>
27 /**
28 * Manage the Notify module
30 * The Notify module allows for displaying of notifications
32 * @see /library/Pivip/Module/Abstract.php
34 class Notify_Module extends Pivip_Module_Abstract
36 /**
37 * Notify needs no installation; returns true.
39 * @return boolean True, Notify need not be installed
41 public static function isInstalled()
43 return true;
46 /**
47 * Communicate that Notify does not need any configuration
49 * @return boolean False, since Notify does not need to be configured.
51 public static function needsConfiguring()
53 return false;
56 /**
57 * Load the controller
59 public function bootstrap()
61 $nextRequest = new Zend_Controller_Request_Simple('notifications',
62 'index',
63 'notify');
64 self::_pushStack($nextRequest);