Development

/plugins/sfPropelNotificationPlugin/config/config.php

You must first sign up to be able to contribute.

root/plugins/sfPropelNotificationPlugin/config/config.php

Revision 3560, 0.8 kB (checked in by tristan, 6 years ago)

Initial import.

Line 
1 <?php
2 /*
3  * This file is part of the sfPropelNotificationPlugin package.
4  *
5  * (c) 2006-2007 Tristan Rivoallan <tristan@rivoallan.net>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 sfPropelBehavior::registerHooks('sfPropelNotificationPlugin', array(
12   ':save:pre'      => array('sfPropelNotificationBehavior', 'preSave'),
13   ':save:post'     => array('sfPropelNotificationBehavior', 'postSave'),
14   ':update:post'   => array('sfPropelNotificationBehavior', 'postUpdate'),
15 ));
16
17 sfPropelBehavior::registerMethods('sfPropelNotificationPlugin', array(
18   'wasNew'            => array('sfPropelNotificationBehavior', 'wasNew'),
19   'setWasNew'         => array('sfPropelNotificationBehavior', 'setWasNew'),
20   'getWasNew'         => array('sfPropelNotificationBehavior', 'getWasNew'),
21 ));
Note: See TracBrowser for help on using the browser.